php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2848 php ignores max execution time and max memory settings in php.ini
Submitted: 1999-11-28 08:17 UTC Modified: 1999-12-03 12:24 UTC
From: michael at audiogalaxy dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 3 OS: Linux 2.2.13
Private report: No CVE-ID: None
 [1999-11-28 08:17 UTC] michael at audiogalaxy dot com
Here is an example of php 4 beta 3 allowing a httpd process destroy the machine.  This is after about 2 mins when the execution time limit has been set to 60 seconds (shows up in php_info() )

In php3 the script will terminate properly after x seconds

This is happening from a mysql query below.


--Thanks

  1:11am  up 17 days,  5:56,  3 users,  load average: 8.37, 7.34, 5.46
75 processes: 73 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  7.6% user, 17.4% system,  0.0% nice, 74.8% idle
Mem:  257844K av, 256624K used,   1220K free,  15760K shrd,   5240K buff
Swap:  72256K av,  70840K used,   1416K free                  9656K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 4359 nobody     1   0  219M 168M   216 D       0  0.4 67.0   0:36 httpd

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-03 12:24 UTC] andrei at cvs dot php dot net
Fixed in CVS by Rasmus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 18:01:34 2024 UTC