php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12507 memory leak
Submitted: 2001-08-01 04:15 UTC Modified: 2001-10-02 18:31 UTC
From: sky dot xu at 51job dot com Assigned:
Status: Closed Package: Performance problem
PHP Version: 4.0.6 OS: linux
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: sky dot xu at 51job dot com
New email:
PHP Version: OS:

 

 [2001-08-01 04:15 UTC] sky dot xu at 51job dot com
I use mtrace to check libphp4.so, i found:
mtrace /www/libexec/libphp4.so 

Memory not freed:
-----------------
   Address     Size     Caller
0000000000        0  at 

Whether php-4.0.6 have memory leak?
Our site, when heavy load, web server memeory will be used up, and swap also be used heavily!
I have to restart apache , i will get much of memory, or after httpd auto restart, i have set :
MaxRequestsPerChild 10000 in httpd.conf.

I use mtrace to check php-4.0.4, it is no memory leak.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-01 04:18 UTC] joey@php.net
Would it be possible for you to provide more info?

What Linux distro?
What was your PHP configure line?
Did any other package move up in version between the 2 builds?
 [2001-08-01 04:34 UTC] joey@php.net
User says:

 I use redhat 6.2,but i upgrad kernel to 2.2.18.
 ./configure? --with-apxs=/www/bin/apxs? --with-oracle=/usr/local/oracle
 --with-oci8=/usr/local/oracle --with-mcrypt --enable-track-vars

I use same configure line in php4.04. and php4.0.6.

sky
 [2001-08-18 22:04 UTC] sniper@php.net
Does this happen with latest CVS snapshot:

http://snaps.php.net/


 [2001-10-02 18:31 UTC] sniper@php.net
No feedback, considered fixed. If problem still exists with
latest CVS snapshot, reopen with short reproducing script.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jan 20 13:01:31 2025 UTC