php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10378 When script timout occurs PHP crashes with ODBC
Submitted: 2001-04-18 09:47 UTC Modified: 2001-05-27 19:23 UTC
From: martin at jma dot se Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.4pl1 OS: Windows 2000 sp1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: martin at jma dot se
New email:
PHP Version: OS:

 

 [2001-04-18 09:47 UTC] martin at jma dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-18 09:55 UTC] derick@php.net
Does it crash with an Access Violation, or does it just stop?
 [2001-04-18 12:47 UTC] martin at jma dot se
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.
 [2001-05-27 19:23 UTC] sniper@php.net
browser issue -> not bug in PHP -> closed.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 05:01:30 2024 UTC