From: Mike S. <m...@pe...> - 2004-11-10 06:33:41
|
On Tue, 9 Nov 2004, Lawrence Reisler wrote: > On occassion (very intermittent), however, when we restart Apache, the > semaphore '_l4p' gets locked up, resulting in the application failing when > trying to initialize Log4perl. The error message received in the Apache > error log is: > [Wed Oct 13 09:42:10 2004] [error] Cannot remove semaphore 1600926832 at > /usr/local/lib/perl5/site_perl/5.8.0/Log/Log4perl/Appender/Synchronized.pm > line 127. Strange. Just a wild guess: Could it be a permission issue? Unfortunately, Synchronized.pm isn't printing out a more detailed error message. Can you change line 127 to $sem->remove() || die "Cannot remove semaphore $key ($!)"; and wait until it's happening again? I'll update the code accordingly for the next release. -- Mike Mike Schilli m...@pe... |