Apache2.2 and php5, 100% usage

Petr Janda elekktretterr at exemail.com.au
Sat Jan 27 00:44:16 PST 2007

Simon 'corecode' Schubert wrote:
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.

I think I discovered what the problem was. Theres only one website 
running and thats a webmail, ive updated dovecot  (rc19) to -current and 
so far its been working ok (5 hours so far). By looking at the changelog 
for dovecot there was some serious ldap related bugs since rc15 (which 
is in -stable), which might have been the cause.


More information about the Users mailing list