Bug #17509 Updated: timeout after script finishes when using lots of memory
| From: | mitja at doticni dot net | Date: | Wed, 29 May 2002 17:13:04 +0000 |
| Subject: | Bug #17509 Updated: timeout after script finishes when using lots of memory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-8861@lists.php.net to get a copy of this message | ||
ID: 17509
Updated by: mitja@doticni.net
Reported By: mitja@doticni.net
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Linux 4.2.17
PHP Version: 4.1.2
New Comment:
Sorry, I forgot to mention this in my original report. set_time_limit()
works OK, because the script runs for about 40 minutes.
Previous Comments:
------------------------------------------------------------------------
[2002-05-29 13:04:04] yohgaki@php.net
Could you double check if your system actually changed max execution
setting?
print_r(ini_get_all());
------------------------------------------------------------------------
[2002-05-29 11:54:59] mitja@doticni.net
I have a script that consumes about 180MB of memory while running.
Everything works OK, and it finishes successfully, but after it's done,
it reports
"Fatal error: Maximum execution time of 30 seconds exceeded in Unknown
on line 0".
Since this error doesn't happen if I configure it to consume less
memory, my guess is that this happens while the memory is being
released at the end of executing the script.
The script uses no particular extensions, just string and array
manipulation functions.
set_time_limit(0) is called at the beginning.
My PHP version is run through Apache 1.3.24 (static build).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17509&edit=1