#28457 [Opn->WFx]: PHP should be able to check certain conditions before invoking the script
| From: | derick@php.net | Date: | Thu, 20 May 2004 16:55:04 +0000 |
| Subject: | #28457 [Opn->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-59805@lists.php.net to get a copy of this message | ||
ID: 28457
Updated by: derick@php.net
Reported By: floeff at arcor dot de
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.3.6
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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