php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17509 timeout after script finishes when using lots of memory
Submitted: 2002-05-29 11:54 UTC Modified: 2002-09-11 11:13 UTC
From: mitja at doticni dot net Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.1.2 OS: Linux 4.2.17
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mitja at doticni dot net
New email:
PHP Version: OS:

 

 [2002-05-29 11:54 UTC] mitja at doticni dot 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).

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-29 13:04 UTC] yohgaki@php.net
Could you double check if your system actually changed max execution setting?

print_r(ini_get_all());

 [2002-05-29 13:13 UTC] mitja at doticni dot 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-09-11 11:13 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 14:01:31 2025 UTC