Results 1 to 9 of 9
-
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
-
18th Dec 2010, 10:54 PM #2MemberWebsite's:
ExpresShare.comIt maybe caching problem.What is the script you are using?
-
18th Dec 2010, 11:00 PM #3OPMemberWebsite's:
maxneeds.infoHmm what about cache images problem by using : <img src=thumb.php?src=blabla.jpg>
As they are 10 or more per page...
If that is the problem i can show you the thumb.php code actually.
-
18th Dec 2010, 11:18 PM #4MemberWebsite's:
ExpresShare.comwell what I wanted to say is that it might php is the one causing the leak and not apache.Also it might be some random program installed on the xp machine.
try testing the scipt on your localhost(keep the same configuration as in your host) and tell us if it give the same result.
-
18th Dec 2010, 11:21 PM #5
apache version?
php version?
give more details...Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
-
19th Dec 2010, 09:42 AM #6OPMemberWebsite's:
maxneeds.infoEdited ...
-
20th Dec 2010, 09:32 AM #7OPMemberWebsite's:
maxneeds.infoanyone ?
-
20th Dec 2010, 01:25 PM #8MemberWebsite's:
Elite.SO Defendos.com Motionite.comWhich server bundle are you using? Xampp? or customized shit?
-
20th Dec 2010, 02:59 PM #9OPMemberWebsite's:
maxneeds.infoVertrigoServ 2.22 , but i have tested with xamp and other shit (including clean apache install + clean php install).. the result is even worse.
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
themaCreator - create posts from...
Version 3.47 released. Open older version (or...