Results 1 to 9 of 9
Threaded View
-
18th Dec 2010, 10:12 PM #1OPMemberWebsite's:
maxneeds.infoApache leaking memory [XP]
Hi !
My server is using xp os and there is no doubt that the apache leaks memory with my PHP (using as module not cgi) .
The leak is strange - if one guest opens the page the mem using of apache process goes 3++ MB and then drops them,which is normal.But if 2 or more guests want to open the page in same time the memory is increased with 500k after cleaing/droping the memory,which i suppose is pure memory leak. Anyone can tell why ?
Edit
I have php5apache2.dll so apache is 2.0v and php is 5.2.14.14v
Also i've tested with apache 2.2 and newest php,but still the problem stays.
@dermechove - how to test on localhost when only i may load the page (and the problem is if 2 or more users try to load the page in same time).
Btw i am using get_headers function to get remote filesize (content-length) and checking if content-type has 'image'(which means that the image exists) for 10 or more images per page as i told already. It really slows down the script by 6-7 seconds.And i think that the major memory leak might be from get_headers ?
Edit 2
Btw sometimes it cannot even load the page by no reason (loading just few bytes and stops) and after 1-2 refreshes it loads it. Apache official site says that this is from the small amount of RAM,but i have 512 MB DDR2 with 1,8 Ghz Althon CPU.
Porsche_maniak Reviewed by Porsche_maniak on . Apache leaking memory [XP] Hi ! My server is using xp os and there is no doubt that the apache leaks memory with my PHP (using as module not cgi) . The leak is strange - if one guest opens the page the mem using of apache process goes 3++ MB and then drops them,which is normal.But if 2 or more guests want to open the page in same time the memory is increased with 500k after cleaing/droping the memory,which i suppose is pure memory leak. Anyone can tell why ? Edit I have php5apache2.dll so apache is 2.0v and php is Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Filestube and Wupload - leaking files?
By masterb56 in forum File Host DiscussionReplies: 11Last Post: 7th Dec 2011, 02:21 AM -
Cpanel has a memory?
By Mvajdava in forum Hosting DiscussionReplies: 5Last Post: 20th Jun 2011, 10:55 AM -
VPS using too much memory?
By ZeroAT in forum Server ManagementReplies: 6Last Post: 18th Jan 2011, 11:02 PM -
Cannot allocate memory?
By zomer86 in forum Server ManagementReplies: 5Last Post: 20th May 2009, 06:25 PM -
Someone is Leaking Our Torrents - BURN HIM!
By MRDJ in forum News & Current EventsReplies: 0Last Post: 9th Feb 2009, 05:26 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...