php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36984 httpd size grows on every restart/graceful restart with php enabled
Submitted: 2006-04-05 12:56 UTC Modified: 2006-06-22 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: vijaybabu at gmail dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 5.1.2, 4.4.2 OS: HPUX
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: vijaybabu at gmail dot com
New email:
PHP Version: OS:

 

 [2006-04-05 12:56 UTC] vijaybabu at gmail dot com
Description:
------------
With Apache 2.0.55 and php4 or php5 enabled, httpd's size grows drastically on every restart or graceful restart. This does not happen if httpd is stopted and started. 

Reproduce code:
---------------
Just enable php in the httpd.conf by uncommenting the "LoadModule" directive for php and start apache.
Then use some process monitoring tool to monitor the size of the httpd process. I used "top".

Then restart apache multiple times with some time interval.



Expected result:
----------------
httpd size remain the same

Actual result:
--------------
size of httpd grows drastically

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-06 05:04 UTC] mv-php at binarysec dot com
Hello, 
 
Can you give to us the ./configure options ? 
You can get it with phpinfo() 
 
Thanks
 [2006-04-06 07:59 UTC] vijaybabu at gmail dot com
Here is my configure command:

./configure --prefix=/opt/apache/php --enable-so --with-apxs2=/opt/apache/bin/apxs --with-apache2=/opt/apache
 [2006-04-11 17:16 UTC] sniper@php.net
What MPM are you running?
 [2006-04-26 05:49 UTC] vijaybabu at gmail dot com
I am using worker MPM.
 [2006-04-26 07:26 UTC] tony2001@php.net
Please try with prefork MPM.
 [2006-04-27 14:32 UTC] vijaybabu at gmail dot com
I see this problem with Prefork MPM also.
 [2006-06-14 16:37 UTC] sniper@php.net
If you can, try and see if you get same result with some linux system.
 [2006-06-22 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 09:01:26 2025 UTC