httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25728] New: - apachectl graceful memory leak?
Date Tue, 23 Dec 2003 15:03:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25728>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25728

apachectl graceful memory leak?

           Summary: apachectl graceful memory leak?
           Product: Apache httpd-1.3
           Version: 1.3.28
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: aspeitia@sells.com


I have a question concerning the "apachectl graceful" command.

Every time the gracefull command is issued via command line, I get a Virtual
Memory footprint of 1448 K more than the last time for the parent httpd process.

Is there some sort of memory leak in the built apache? I did not see this
behaviour in 1.3.27.

I'm having a hard time narrowing down what seems to be two separate bugs (one in
apache and one in php).

This apache error and a php file descriptor error.

After about 3 days I start seeing php pages with the error:
failed to open stream: too many open files in Unknown on line 0

And in the error logs:
Too many open files: file permissions deny server access

I think something is eating in to the file descriptor limit for an open process
by not closing file handles (probably php) but not sure if it is compounded by this.

Can anyone else reproduce this? I tried on another xserve we have that never ran
apache and it does the same thing.

I'm running apache 1.3.28 on an xserve OS 10.3.1. XSERVE Dual 1 GHz G4; Mac OS X
(10.3.x); 1GB DDR SDRAM

I am also including the ps output before and after an apachectl graceful. Is
there some other info I should supply that can help?

Thanks. 

Ray A. 


-----------------------
[xserve01:/Users/admin] admin# ps aux | grep http
root   3784   0.3  0.4    42700   4220  ??  Ss    8:59AM   0:00.17 /usr/sbin/httpd
www    3789   0.0  0.0    42700    324  ??  S     9:00AM   0:00.00 /usr/sbin/httpd
root   3791   0.0  0.0    18172    344 std  S+    9:00AM   0:00.00 grep http
[xserve01:/Users/admin] admin# apachectl graceful
/usr/sbin/apachectl graceful: httpd gracefully restarted
[xserve01:/Users/admin] admin# ps aux | grep http
root   3784   0.0  0.5    44148   5612  ??  Ss    8:59AM   0:00.40 /usr/sbin/httpd
www    3800   0.0  0.0    44148    320  ??  S     9:00AM   0:00.01 /usr/sbin/httpd
www    3801   0.0  0.0    44148    320  ??  S     9:00AM   0:00.00 /usr/sbin/httpd
root   3803   0.0  0.0    18172    348 std  S+    9:00AM   0:00.01 grep http
[xserve01:/Users/admin] admin# apachectl graceful
/usr/sbin/apachectl graceful: httpd gracefully restarted
[xserve01:/Users/admin] admin# ps aux | grep http
root   3784   0.0  0.7    45596   7012  ??  Ss    8:59AM   0:00.62 /usr/sbin/httpd
www    3811   0.0  0.0    45596    316  ??  S     9:00AM   0:00.00 /usr/sbin/httpd
www    3812   0.0  0.0    45596    320  ??  S     9:00AM   0:00.00 /usr/sbin/httpd
root   3814   0.0  0.0     8860    172 std  R+    9:00AM   0:00.00 grep http
[xserve01:/Users/admin] admin#

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message