The Carp.pm file is calling for an exit.
Code: Select all
ModPerl::Util::exit: (120000) exit was called at C:/PROGRA~1/OTRS/OTRS/Kernel/cpan-lib/CGI/Carp.pm line 561[Tue Nov 20 14:54:44 2012] [notice] Parent: child process exited with status 255 -- Restarting.
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
[Tue Nov 20 14:54:46 2012] [notice] Apache/2.2.17 (Win32) mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.12.3 configured -- resuming normal operations
[Tue Nov 20 14:54:46 2012] [notice] Server built: Oct 18 2010 01:58:12
[Tue Nov 20 14:54:46 2012] [notice] Parent: Created child process 6076
Scalars leaked: 1
Scalars leaked: 1
Scalars leaked: 1
[Tue Nov 20 14:54:49 2012] [notice] Child 6076: Child process is running
[Tue Nov 20 14:54:49 2012] [notice] Child 6076: Acquired the start mutex.
[Tue Nov 20 14:54:49 2012] [notice] Child 6076: Starting 64 worker threads.
[Tue Nov 20 14:54:49 2012] [notice] Child 6076: Starting thread to listen on port 80.
Scalars leaked: 1
Code: Select all
if ($r->bytes_sent) {
$r->print($mess);
$mod_perl == 2 ? ModPerl::Util::exit(0) : $r->exit; <---------- line 561
}
Code: Select all
if ($mod_perl) {
my $r;
if ($ENV{MOD_PERL_API_VERSION} && $ENV{MOD_PERL_API_VERSION} == 2) {
$mod_perl = 2;
require Apache2::RequestRec;
require Apache2::RequestIO;
require Apache2::RequestUtil;
require APR::Pool;
require ModPerl::Util;
require Apache2::Response;
$r = Apache2::RequestUtil->request;
}
else {
$r = Apache->request;
}
# If bytes have already been sent, then
# we print the message out directly.
# Otherwise we make a custom error
# handler to produce the doc for us.
if ($r->bytes_sent) {
$r->print($mess);
$mod_perl == 2 ? ModPerl::Util::exit(0) : $r->exit; <----line 561
} else {
# MSIE won't display a custom 500 response unless it is >512 bytes!
if ($ENV{HTTP_USER_AGENT} =~ /MSIE/) {
$mess = "<!-- " . (' ' x 513) . " -->\n$mess";
}
$r->custom_response(500,$mess);
}
} else {
my $bytes_written = eval{tell STDOUT};
if (defined $bytes_written && $bytes_written > 0) {
print STDOUT $mess;
}
else {
print STDOUT "Status: 500\n";
print STDOUT "Content-type: text/html\n\n";
print STDOUT $mess;
}
}
At first I thougt that this would be an Apache problem but I lean towards a PERL error. Something is calling that exit. Even worse, sometimes this error happens two times in less than a minute. When it happens my users see the "website not found" screen. Any ideas what could be the reason for this behavior?