in reply to Need help with CGI script that won't complete running

Have you tried checking the Apache logs? I hace never had trouble with Apache killing a process. Quite the opposite I've had processes run away from Apache and load down the system.


Peter L. Berghold -- Unix Professional
Peter at Berghold dot Net
   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.
  • Comment on Re: Need help with CGI script that won't complete running

Replies are listed 'Best First'.
Re: Re: Need help with CGI script that won't complete running
by Vautrin (Hermit) on Jan 26, 2004 at 19:04 UTC

    The line I quoted in <code> tags was from the Apache Error log. So, that's what Apache is saying about the script. Of course, whether it was perl printing to STDERR that was redirected to the Apache error logs or Apache, I don't know.

      Without code to look at I'm going to take a shot in the dark and hope that I hit something without causing a "blue on blue" incident.

      Try using CGI::Carp such that

      use CGI::Carp qw/ fatalsToBrowser/; #remove from production code!
      and see what gets written to your browser. Also do you have any code that could be going into an infinite looop?

      Just a couple of ideas.


      Peter L. Berghold -- Unix Professional
      Peter at Berghold dot Net
         Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.