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 47528] New: Worker process won't restart more than once using MaxRequestsPerChild with mpm_winnt
Date Tue, 14 Jul 2009 20:32:10 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47528

           Summary: Worker process won't restart more than once using
                    MaxRequestsPerChild with mpm_winnt
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P3
         Component: mpm_winnt
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jmccaskey@gmail.com


I'm using Apache 2.2.9, but I didn't find any changes in the newer versions
that appear related to this issue.  I've set MaxRequestsPerChild to 500 in my
Apache config.  If I watch the server-status page and refresh 500 times I see
the PID for the process change and in my logs I see that the server restarted
due to hitting hte max.  If I repeat this and go to 1000 requests no restart
occurs, no matter how many more requests are issued the process doesn't
restart.

This is a problem for us because the process seems to use more and more memory
over time and since there is only a single process on Windows we are stuck with
only 2 gigs to share between all the threads and our PHP code running on the
server can tend to use lots of memory.  We end up with PHP running out of
memory after the server has been up for a while and have to manually restart
it.  I wanted to just use the MaxRequestsPerChild to gurantee we'd restart a
couple times a day, but that isn't possible due to this bug.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message