ID: 10378
User Update by: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
Does it crash with an Access Violation, or does it just stop?

---------------------------------------------------------------------------

[2001-04-18 09:47:22] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to