Perrin Harkins wrote:
David Scott wrote:
I've built Apache 2.2.3 and mod_perl 2.0.3 with libapreq 2.08 and the worker MPM. There appears to be some kind of race condition at startup that prevents the server from coming up. This only happens once in a while, and can be fixed by some minor configuration or code change (ie, adding a 'print STDERR "foobar\n"' to one of my Perl modules can cause the problem to occur; moving the print statement by one line can fix it).

This sounds like a possible issue with your code and threaded perl. It doesn't ring a bell as a general mod_perl issue.


Interesting problem. I remember reading about an issue with threading (not specific to apache or mod_perl) that occured when file descriptors were being modified while there were contents in the buffer.

Just for giggles, try

{
local $|=1;
use MyModules;
...
}

Rob

Reply via email to