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

From: Date: Tue, 16 Apr 2002 16:03:45 +0000
Subject: Bug #16636 Updated: The specified CGI application exceeded the allowed time for processing.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5113@lists.php.net to get a copy of this message
ID: 16636 Updated by: sander@php.net Reported By: rich@safenames.net -Status: Open +Status: Bogus Bug Type: Mail related Operating System: Windows 2000 PHP Version: 4.1.2 New Comment: I don't think this is a bug in PHP, but it's a setting in IIS. Previous Comments: ------------------------------------------------------------------------ [2002-04-16 11:51:30] rich@safenames.net I meant to write "in a loop", not "in a look". ------------------------------------------------------------------------ [2002-04-16 11:48:48] rich@safenames.net 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 this bug report at http://bugs.php.net/?id=16636&edit=1

« previous php.bugs (#5113) next »