Consider the standard Perl fast CGI script:
#!/usr/bin/perl
use CGI::Fast;
# Init handler
while (my $cgi = CGI::Fast->new)
{
# Handle request
}
# Do you ever get here?
Do I ever exit the loop and get a chance to do some cleanup?
What happens when the server throws out the test.fpl script because the time limit has been exceeded?