php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #28457 PHP should be able to check certain conditions before invoking the script
Submitted: 2004-05-20 17:14 UTC Modified: 2004-05-20 22:14 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: floeff at arcor dot de Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.3.6 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-05-20 17:14 UTC] floeff at arcor dot de
Description:
------------
PHP should be able to check certain conditions before invoking the script. I 
would like to be able to check

 - number of already running PHP(-as-CGI) instances
 - load average of the system

If some user-definable values are exceed, PHP should NOT invoke the required 
script, but instead printing out a "System overload, please try again later" 
message.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-20 18:55 UTC] derick@php.net
This is not something that PHP should implement, as it's not PHPs job to make sure your system "doesn't overload". It's an operating systems feature, or at most done by the webserver.
 [2004-05-20 19:47 UTC] floeff at arcor dot de
You should at least provide some tips for stopping these problems, as I consider this a security risk.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 14:01:32 2024 UTC