2 apache treads at 10% each and the kswapd process 80% cpu and also all my memory had been taken by apache... afer doing a apache 2 reload 350 Meg of physical memory and 400 of swap was released... on a server with 1 website :-(
I'm not sure what to do about the problem, maybe as said here limit the maximum memory per apache child, but that is not the solution in meantime I reset my apache server at night.
If your boat leaks you can use buckets to remove the water but you might consider to put a plug in it....
greetings,
Raymond
Merlin wrote:
Hi there,
I am running the newest php 4.x branch on a suse 9.0 apache 1.3x system Hardware: 1G ram
It apears to me that the system anyhow has a memory leak. While running "top" on linux it shows the free memory declining steadily. After about 48h the system starts to swap. Restarting apache gracefully brings it back to about 140 MB free ram, thats all.
Is there a way to show all memory in use and therefore make it easy to identify the problem? I realised that some scripts have missed the imagedestroy function, but after I added this, the system still eats the memory.
Thank you for any hint on that.
Merlin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php