Apache2.2 and php5, 100% usage

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Fri Jan 26 23:37:16 PST 2007

Petr Janda wrote:
Ive been experiencing a weird thing. Im running DF 1.6 on this server 
and once in a while 1 or 2 of the apache processes become using 100% 
CPU, all the other apache processes are ok. This is an SMP box.
best compile apache and php with -g, but that's not strictly necessary.  then attach with gdb to this process:

gdb /path/to/apache/binary pid

and check where they are hanging:

gdb> bt

that should give us some ideas what is happening.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00016.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20070126/d593a298/attachment-0021.obj>

More information about the Users mailing list