#17509 [Fbk->Bgs]: timeout after script finishes when using lots of memory

From: Date: Wed, 11 Sep 2002 16:13:45 +0000
Subject: #17509 [Fbk->Bgs]: timeout after script finishes when using lots of memory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19101@lists.php.net to get a copy of this message
ID: 17509 Updated by: sniper@php.net Reported By: mitja@doticni.net -Status: Feedback +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux 4.2.17 PHP Version: 4.1.2 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-05-29 13:13:03] mitja@doticni.net Sorry, I forgot to mention this in my original report. set_time_limit() works OK, because the script runs for about 40 minutes. ------------------------------------------------------------------------ [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

« previous php.bugs (#19101) next »