On Tue, Jun 07, 2005 at 01:02:06PM -0400, kalin mintchev wrote: > > hi all... > > for the last 4 - 5 days i noticed something weird on one of the freebsd > boxes here. one httpd process -or sometimes 2 or 3 - take up all the cpu. > and it looks like this: > > # top > CPU states: 33.1% user, 0.0% nice, 66.5% system, 0.4% interrupt, 0.0% idle > Mem: 476M Active, 295M Inact, 162M Wired, 61M Cache, 112M Buf, 7556K Free > Swap: 2032M Total, 4K Used, 2032M Free > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 85655 nobody 64 0 20632K 14880K RUN 126:03 97.07% 97.07% httpd > 85654 nobody 2 0 19532K 13616K sbwait 0:16 0.24% 0.24% httpd > 6081 root 28 0 2016K 1196K RUN 0:00 0.22% 0.10% top
Does your httpd installation serve up any scripted content i.e. using perl, PHP, etc. I have seen apache spin out of control due to poorly, or incorrectly written scripts. Nathan
pgpY9GeS2rE8D.pgp
Description: PGP signature