php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5552 Infinite loops don't time out.
Submitted: 2000-07-13 10:18 UTC Modified: 2000-07-13 10:27 UTC
From: seb at cyberdream dot net Assigned:
Status: Closed Package: Performance problem
PHP Version: 4.0 Release Candidate 1 OS: Windows NT Server 4.0 sp4
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: seb at cyberdream dot net
New email:
PHP Version: OS:

 

 [2000-07-13 10:18 UTC] seb at cyberdream dot net
Once in a while we all (well some of us anyways) will slap our forhead as we watch our web browser wait for an infinite loop to finish.  The problem we're having is that the infinite loops in PHP do not time-out.  The php.exe process takes up over 90% of the CPU thus rendering our server very slow.  I tried just force-quitting the process but I get an access violation error.  So we have to reboot the machine.  I know this is our fault and deserve a kick when we do this (we usually get that kick) but would it be possible kill the process after an X amount of seconds?  There's a timeout variable in php.ini but it's labelled as Unix only.

We are using IIS 4.0 as webserver. (ick)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-13 10:27 UTC] sterling at cvs dot php dot net
Fixed in 4.0.1pl2.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC