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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Tue Apr 30 02:01:31 2024 UTC