DragonFly users List (threaded) for 2007-01
DragonFly BSD
DragonFly users List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Apache2.2 and php5, 100% usage


From: Petr Janda <elekktretterr@xxxxxxxxxxxxxx>
Date: Sat, 27 Jan 2007 19:32:19 +1100

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.

cheers
 simon

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.

Petr



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]