https://bz.apache.org/bugzilla/show_bug.cgi?id=66316

--- Comment #13 from Seann Herdejurgen <[email protected]> ---
I believe the following line of code in modperl_tipool.c is causing the
problem:

        /* block until an item becomes available */
        modperl_tipool_wait(tipool);

This is a macro function defined in modperl_tipool.h as:

#define modperl_tipool_wait(tipool) \
    while (tipool->size == tipool->in_use) { \
        MP_TRACE_i(MP_FUNC, \
                   "waiting for available tipool item in thread 0x%lx", \
                   MP_TIDF); \
        MP_TRACE_i(MP_FUNC, "(%d items in use, %d alive)", \
                   tipool->in_use, tipool->size); \
        COND_WAIT(&tipool->available, &tipool->tiplock); \
    }

I'm not familiar enough with thread pool management to identify if there is a
logic error here. You can find these MP_TRACE_i messages in the attached
error_log file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to