Can you post the information at the header of top
like...
CPU states:  0.4% user,  0.0% nice,  3.6% system,  0.0% interrupt, 96.1%
idle
Mem: 47M Active, 147M Inact, 36M Wired, 11M Cache, 35M Buf, 7328K Free
Swap: 1024M Total, 144K Used, 1024M Free

and also the output of 
ps waux | grep mysql && ps waux | grep httpd

Thx

---
Toolshed Computer Productions - Professional PHP Hosting
     Hosting - Dedicated Servers - Design - Programming
     http://www.toolshed51.com

-----Original Message-----
From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 6:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] apache and php ate up all my memory :-[


Hi all

Probably some Apache/mysql/php-Admin gurus can give me a hint :
i just moved a website to it's own server ( my first one).
now apache had eaten up all physical and virtual memory
some httpd had allocated 45MB of RAM, memory ran out myqsl crashed...

php is compiled in to apache 
Apache/1.3.19 (Unix) PHP/4.0.4pl1 
these are the relevant entries is my  httpd.conf
Timeout 300
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 20
StartServers 20
MaxClients 150
MaxRequestsPerChild 500

in the php.ini

memory_limit = 8M 
( but i think that has nothing to do with it)

i can't find anything in the logfiles exept that some httpd were already
killed by itself, because
there was no memory left that they could eat....
needless to say that my site does NOT get that much traffic that the
server was at the edge
of it's capacity.....
HELP...

Sebastian 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to