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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to