Ticket #1212 (closed defect: duplicate)
fast cgi process Core Dumps Light goes 100% cpu
| Reported by: | anonymous | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | mod_fastcgi | Version: | 1.4.15 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | Blocking: |
Description
Major things in the Lighty conf:
server.modules = ( "mod_status","mod_fastcgi","mod_accesslog" )
fastcgi.debug = 1
fastcgi.server = (
"/" =>
((
"socket" => "/tmp/dump.fcgi.socket",
"bin-path" => "/tmp/core.pl",
"bin-environment" => (
"PERL5LIB" => "/home/dmarkham/stable2/evdb/modules/",
),
"check-local" => "disable",
"disable-time" => 1,
"max-procs" => 1,
))
)
the Perl script
#!/usr/bin/perl
use strict;
use CGI::Fast qw(:standard);
$| =1;
## Request Loop
REQ:
while (my $q = new CGI::Fast) {
alarm(5);
local $SIG{ALRM} = sub {
print STDERR "Time Out Looking up:\n";
print $q->header(-status=>'500');
print "You Have Been Dumped\n";
CORE::dump();
};
sleep 10;
}
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

