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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
16 + 1 = ?
Subscribe to this entry?

 
 [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

Pull Requests

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: Sat Sep 28 23:01:27 2024 UTC