Re: PHP mem leaks
| From: | Marek Kilimajer | Date: | Fri, 13 Sep 2002 13:08:18 +0000 |
| Subject: | Re: PHP mem leaks | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116267@lists.php.net to get a copy of this message | ||
Then I would not think it's php issue, as php is called by forked children.
There might be also problems in the libraries, so check for updates.
Sorry, cannot help you more.
John Wards wrote:
Hmm I am unsure as my server crashed on me this morning and restarted it self so every thing is back to normal (15meg per process) But I can never remeber noticing a much smaller Apache process. So I would gues at yes the parent process gets larger too. I though it was mod_ssl causing the problem but I have commented that out from http.conf but that made no difference Cheers John WardsIs the apache parent process ( the one running under root) getting larger too? John Wards wrote:thatAfter being told off on the dev list I have posted this on this list (I thought it was techie enough to go on that list but I was wrong....) I am running a large PHP/MySQL/Apache driven website and I am findingweekthe apache Processes get larger and larger as the days go on. When I stop/start apache the processes are around 16-17 meg each and after asaythey are about 40meg each and if we then get a large in flux of trafficrunninga Monday lunch time the server just pages out and dies... I have been on the apache list given them all my modules that I havemaxrequestsperchildand they pointed the finger at PHP, I was told to changeto 100 but this made no difference. Is there a fix for this? or a planned fix for this? Oh and here are the modules I am using: We are running Apache/1.3.26, PHP/4.2.2 mod_ssl/2.8.9 under FreeBSD 4.6. Apache modules: mod_php4, mod_ssl, mod_setenvif, mod_so, mod_auth, mod_access, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core all compiled in except for mod_php4 and mod_ssl which are loaded using LoadModule. Cheers John Wards SportNetwork.net-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php