php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15482 Memory Leak
Submitted: 2002-02-10 02:44 UTC Modified: 2002-08-23 20:15 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: mdfong at ups dot edu Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.1.1 OS: Redhat 7.1
Private report: No CVE-ID: None
 [2002-02-10 02:44 UTC] mdfong at ups dot edu
Php 4.1.1 statically linked to Apache 1.3.23

./configure --with-apache=/root/apache --with-mysql --enable-memory-limit --enable-sigchild

All my php scripts require Mysql access. The sql database is stored on another computer on the lan. My php scripts use persistent connections

Under heavy load my Memory usage per httpd process bounces up to 54M+ Below is an example from output

22263 nobody     0   0 55308  54M  1920 S     2.3 21.0   0:08 httpd

I can create a half fix by using MaxChildRequests config header...but it appears there is a memory leak.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-23 20:15 UTC] iliaa@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.

If the problem persists, please provide the smallest possible script that could be used to replicate the memory leakage.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC