Brian Pane wrote:
On Dec 4, 2005, at 11:14 PM, Paul Querna wrote:

I finally got around to upgrading to trunk w/ the Event MPM on one of my
machines. Within a couple hours of starting it, I had a process
spinning, and consuming 100% CPU.

Backtrace from the spinning thread:

(gdb) thread 6
[Switching to thread 6 (Thread 0x20450000 (LWP 100189))]#0
apr_allocator_free
(allocator=0x2054ab80, node=0x205a2000) at memory/unix/apr_pools.c:334
334             if (max_free_index != APR_ALLOCATOR_MAX_FREE_UNLIMITED
(gdb) where
#0  apr_allocator_free (allocator=0x2054ab80, node=0x205a2000)
    at memory/unix/apr_pools.c:334

Paul, if you're able to reproduce this condition, can you post a
dump of the free lists in the allocator?  If something allocated
from the apr_allocator_t is being freed twice, it may be detectable
as a loop in one of the allocator->free[] lists.

I haven't been able to reproduce this since reporting it, and I am still running the Event MPM, but I did recently upgrade from FreeBSD 5.4 -> 6.0... If its a rare race condition, that might be enough to hide it.

-Paul

Reply via email to