[Modules] mod_gnutls making Apache use 100% CPU

Sander Marechal s.marechal at jejik.com
Fri Apr 24 05:28:26 EDT 2009

Simon Josefsson wrote:
> If strace doesn't show anything, it means it isn't doing any syscalls,
> which can happen if it is stuck in a busy loop.  Next step would be to
> run 'gdb /usr/sbin/apache2 PID' or similar and then run 'bt'.
> Installing apache2-dbg may help, if you are on debian.

I'm on Debian.

Meanwhile, I managed to get an strace by reducing the number of forks
that Apache makes and attaching an strace to them all. See the
attachment (I hope your mailinglist accepts attachments). At the end of
this trace nothing happens anymore but the process still uses 100% CPU.

I'll get a GDB backtrace next.

Sander Marechal

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: strace.txt
Url: http://lists.outoforder.cc/pipermail/modules/attachments/20090424/69f0274e/attachment-0001.txt 

More information about the Modules mailing list