[mod_cluster-issues] [JBoss JIRA] Created: (MODCLUSTER-97) httpd should remove workers who crashed

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Aug 14 03:08:28 EDT 2009


httpd should remove workers who crashed
---------------------------------------

                 Key: MODCLUSTER-97
                 URL: https://jira.jboss.org/jira/browse/MODCLUSTER-97
             Project: mod_cluster
          Issue Type: Feature Request
    Affects Versions: 1.0.1.GA
            Reporter: Bela Ban
            Assignee: Jean-Frederic Clere
             Fix For: 1.1.0.CR1


When worker W crashes, httpd will not remove it from its worker tables and still try to send requests to W. 

We should implement something like ping_mode=I (interval), ping_timeout and connection_ping_interval in mod_jk [1].

It should work as follows:
- W crashes
- httpd waits for connection_ping_interval of idle time, then starts checking the connection to W every ping_timeout seconds (or ms)
- When the connection to W is broken, httpd should remove W from its worker table and stop the connection checker
- When (if !) W is started again, mod-cluster will register it again with httpd

The configuration above should be done entirely on the AS side, e.g. in HAModClusterConfig. maybe we can find just 1 attribute rather than 3.

[1] http://tomcat.apache.org/connectors-doc/reference/workers.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the mod_cluster-issues mailing list