PHP mem leaks
| From: | John Wards | Date: | Thu, 12 Sep 2002 13:16:58 +0000 |
| Subject: | PHP mem leaks | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116140@lists.php.net to get a copy of this message | ||
After 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 finding that
the 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 a week
they are about 40meg each and if we then get a large in flux of traffic say
a Monday lunch time the server just pages out and dies...
I have been on the apache list given them all my modules that I have running
and they pointed the finger at PHP, I was told to change maxrequestsperchild
to 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