#28457 [WFx]: PHP should be able to check certain conditions before invoking the script
| From: | floeff at arcor dot de | Date: | Thu, 20 May 2004 17:47:04 +0000 |
| Subject: | #28457 [WFx]: PHP should be able to check certain conditions before invoking the script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59807@lists.php.net to get a copy of this message | ||
ID: 28457
User updated by: floeff at arcor dot de
Reported By: floeff at arcor dot de
Status: Wont fix
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.3.6
New Comment:
You should at least provide some tips for stopping these problems, as I
consider this a security risk.
Previous Comments:
------------------------------------------------------------------------
[2004-05-20 18:55:03] 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 17:14:22] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28457&edit=1