tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28161] New: - Replication messages get lost with AsyncSocketSender
Date Fri, 02 Apr 2004 15:47:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28161>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28161

Replication messages get lost with AsyncSocketSender

           Summary: Replication messages get lost with AsyncSocketSender
           Product: Tomcat 5
           Version: 5.0.21
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rainer.jung@kippdata.de
                CC: rainer.jung@kippdata.de


Using AsyncSocketSender we see, that under heavy load some session get not 
replicated.

We added a lot of debug output statements, so we can see, that in 
AsyncSocketSender Method sendMessage(data) is reached and we finally end at the 
line, where the data is written to the socket.

Unfortunately on the remote side we miss the incoming messages corresponding to 
the missing session, although most sessions are replicated and we can see 
accordingly debugging output.

We use a 2 node Cluster using apache/mod_jk with load balancing/routing to both 
cluster nodes. We create app. 1500 sessions in a few seconds. Nearly 5% of the 
sessions are missing. Some of the sessions of node 1 are missing on node 2, but 
also some of the sessions from node 2 are missing on node 1. We couldn't 
observe the problems under low load.

Cluster-Config: useDirtyFlag=true, mcastFrequency=500, mcastDropTime=3000, 
tcpSelectorTimeout=1000, tcpThreadCount=2, TC 5.0.21, OS is Solaris 9, JVM is 
1.4.2_03.

Any help is highly appreciated, we are able to produce debugging output. Please 
give hints.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message