Bug #16636: The specified CGI application exceeded the allowed time for processing.

From: Date: Tue, 16 Apr 2002 15:48:49 +0000
Subject: Bug #16636: The specified CGI application exceeded the allowed time for processing.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5111@lists.php.net to get a copy of this message
From: rich@safenames.net Operating system: Windows 2000 PHP version: 4.1.2 PHP Bug Type: Mail related Bug description: The specified CGI application exceeded the allowed time for processing. I am trying to run a PHP script which sends ~1500 emails. It's a simple email script, in a look, calling the mail() function. mail($mailto, $subject, $body); Naturally the script times out after 30 seconds, and the error message "Fatal error: Maximum execution time of 30 seconds exceeded" appears. I changed the script timeout to 10 minutes (600 secs) in PHP.INI but after ~3 minutes of the script running it times out again, this time reporting the error: "The specified CGI application exceeded the allowed time for processing." The script only manages to send ~700 emails out before the CGI timeout error message appeared, which stopped the process. Any way to stop this timing out? It seems max_execution_time in PHP.INI doesn't [completely] work. Regards, Richard Gebbie -- Edit bug report at http://bugs.php.net/?id=16636&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16636&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16636&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16636&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16636&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16636&r=support Expected behavior: http://bugs.php.net/fix.php?id=16636&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16636&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16636&r=submittedtwice

« previous php.bugs (#5111) next »