Page 1 of 1

Performance unix top php httpd etc!

Posted: Wed Jul 27, 2005 4:32 am
by Steve_a
Hmm

Ok The test machine Im working on is probably a bit hairy in that I open up a lot of stuff on the php apache configs, for development and debugging ..... but what I'm seeing is the httpd process (Apache/1.3.33 (Darwin)) taking some big hits (although not for to long thankfully ) on the cpu up to about 50 -60 %-  mysql on the other hand is just fantastic and only using 1-3 %

Am I correct that php  is part of the httpd process (it's running as an Apache Module?)

Any thoughts on config issues any thing I can do to keep cpu - usage down? (I'll be  building up a new machine for the eventual site, locking it down etc...)

Thanks for your thoughts / time

Steve

PS

These are the top commands I've been using to monitor the machine - other people may want to play with them and see what they come up with

top -tl 10000 | grep httpd
top -tl 10000 | grep mysql