note 88985 added to function.set-time-limit
| From: | chAlx at osu1 dot php dot net | Date: | Tue, 17 Feb 2009 09:47:27 +0000 |
| Subject: | note 88985 added to function.set-time-limit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150746@lists.php.net to get a copy of this message | ||
max_execution_time documentation:
> The maximum execution time is not affected by
> system calls, stream operations etc. Please see
> the set_time_limit() function for more details.
Please see that both max_execution_time ini param and it's unsafe mode alias set_time_limit()
doesn't set execution time at all. It's value is more likely a processor load limit
(
ps -o time param in *nix) and depended on cpu resources given to process.
Not only sleep() or system() calls ignore max_execution_time; the typical web server with
multithreading support shares it's resources between php programs and real execution time is
always greater than process cpu time.
So documentation on this param should not speak about time: it is normalized cpu resource counter,
not a timer.
----
Server IP: 78.41.111.3
Probable Submitter: 80.70.236.126
----
Manual Page -- http://www.php.net/manual/en/function.set-time-limit.php
Edit -- https://master.php.net/note/edit/88985
Del: integrated -- https://master.php.net/note/delete/88985/integrated
Del: useless -- https://master.php.net/note/delete/88985/useless
Del: bad code -- https://master.php.net/note/delete/88985/bad+code
Del: spam -- https://master.php.net/note/delete/88985/spam
Del: non-english -- https://master.php.net/note/delete/88985/non-english
Del: in docs -- https://master.php.net/note/delete/88985/in+docs
Del: other reasons-- https://master.php.net/note/delete/88985
Reject -- https://master.php.net/note/reject/88985
Search -- https://master.php.net/manage/user-notes.php