PHP 4.0 Bug #10378 Updated: When script timout occurs PHP crashes with ODBC
| From: | martin at jma dot se | Date: | Wed, 18 Apr 2001 16:47:39 +0000 |
| Subject: | PHP 4.0 Bug #10378 Updated: When script timout occurs PHP crashes with ODBC | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51887@lists.php.net to get a copy of this message | ||
ID: 10378
User Update by: martin@jma.se
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Description: When script timout occurs PHP crashes with ODBC
This timeout is most likely coming from Internet Explorer.
IE will terminate the HTTP session if it has not received a response back from the server in 300
seconds.
You can mitigate this problem by doing a:
print "."; flush();
in your loop.
PHP will continue forever (or until the limits defined in php.ini have been met). Personally
I've had PHP doing some intensive stuff with this - one script runs for 2 days on a PIII-800 -
until I rewrote it in perl so it finishes in 1 hour ;-)
Paul.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-18 09:55:33] derick@php.net
Does it crash with an Access Violation, or does it just stop?
---------------------------------------------------------------------------
[2001-04-18 09:47:22] martin@jma.se
When script timeout occurs (in my case moving data from a textfile to a database, many inserts)
PHP prints out the error message (exceeded 300 sec timeout) and then crashes.
The error does not occur if I do a simple while(forewer) so it must be related to open connections.
Sorry that I'm unable to find out further whats cousing this.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10378