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 46963] New: KeepAliveTimout prevents child process from exiting cleanly with winnt_mpm
Date Fri, 03 Apr 2009 17:16:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46963

           Summary: KeepAliveTimout prevents child process from exiting
                    cleanly with winnt_mpm
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_winnt
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: neel.goyal@gmail.com


Version 2.2.11

My assumption is if a persistent connection is made to the server with
KeepAlive On, the request thread will not terminate until the KeepAlive timeout
or the connection is closed by the client.

in server/mpm/winnt/child.c the child waits for the threads to exit.  Around
line 1119.  It waits X seconds where X is the time specified in the Timeout
directive.  The thread is forcibly closed after X seconds (line 1180) and then
destroy the child pool properly (line 1208).

However, in server/mpm/winnt/mpm_winnt.c the parent process decides it's time
to kill the child after a hardcoded 30 seconds (line 964).  This ends up
killing the child process without destroying the child pool.  Thus, registered
callbacks fail to properly cleanup.

This may also be linked to Bug 41743 which also describes shutdown errors with
KeepAlive On

-- 
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