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

--- Comment #10 from Seann Herdejurgen <[email protected]> ---
I was able to run httpd server for a week without deadlock.

Today I commented out the following line in httpd.conf:

   #PerlOptions +Parent

and re-enabled debug logging and was able to reproduce deadlock within a couple
of minutes. Process ID 155691 hung and I collected pstack output as well as
Perl trace output from /var/log/httpd/error_log. I extracted only entries that
matched process ID 155691 to add to this case.

A little background on what I am doing in Perl. From the web page I am calling
yearly.json?s=<symbol> script in parallel with 12 different symbols. The
mod_perl script yearly.json pulls data out of a Berkley DB database using
DBM::Deep CPAN module and returns it in JSON format. By commenting out the
#PerlOptions +Parent line, the max number of Perl interpreters is 5 and
mod_perl.so is susceptible to deadlocks in this configuration.

My workaround for keeping mod_perl from deadlocking is the following Apache
httpd.conf configuration:

    PerlOptions +Parent
    PerlInterpStart 16
    PerlInterpMax 32
    PerlInterpMinSpare 16
    PerlInterpMaxSpare 16

-- 
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