Re: Cluster tcpThreadCount
Hey Randy, tcpThreadCount is the number of parallel NIO receiver threads. Every tomcat cluster node with pooled mode has 25 sender threads (Default). Normally two receiver thread per backup node are calc. More recevier worker means that you produce more load for replication at backup! At heavy loaded site I use only the fastasyncqueue mode. This mode has at my test case better performance and more guaranty that replication works well. You can also switch to the domain cluster model. Install more nodes with different backup domainnodes. Example Apache 1 and four tomcats T01 and T03 are inside domain A ( same mcast port) T02 and T04 are inside domain B ( same mcast port) T01 and T02 living at box B1 T03 and T04 living at box B2 Peter PS: When you used tomcat 5.5.9 don't forget to install the cluster fix pack ( s. bugzilla) Randy Paries schrieb: Hello, How do I determine what value I should set tcpThreadCount to Currently I have the setting below and a very busy app server. Thanks Randy Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener tcpListenAddress=10.0.0.88 tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=6 / Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=pooled autoConnect=true waitForAck=true sendAllSessions=false sendAllSessionsSize=100 compress=true ackTimeout=15000/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cluster tcpThreadCount
Thanks for the response. What version was fastasyncqueue implemented? I am still running jakarta-tomcat-5.0 There are so many different values Is this a good default to start with (from the doc page)?? Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=fastasyncqueue doTransmitterProcessingStats=true doProcessingStats=true doWaitAckStats=true queueTimeWait=true queueDoStats=true queueCheckLock=true ackTimeout=15000 waitForAck=true keepAliveTimeout=8 keepAliveMaxRequestCount=-1/ -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Saturday, August 27, 2005 1:41 AM To: Tomcat Users List Subject: Re: Cluster tcpThreadCount Hey Randy, tcpThreadCount is the number of parallel NIO receiver threads. Every tomcat cluster node with pooled mode has 25 sender threads (Default). Normally two receiver thread per backup node are calc. More recevier worker means that you produce more load for replication at backup! At heavy loaded site I use only the fastasyncqueue mode. This mode has at my test case better performance and more guaranty that replication works well. You can also switch to the domain cluster model. Install more nodes with different backup domainnodes. Example Apache 1 and four tomcats T01 and T03 are inside domain A ( same mcast port) T02 and T04 are inside domain B ( same mcast port) T01 and T02 living at box B1 T03 and T04 living at box B2 Peter PS: When you used tomcat 5.5.9 don't forget to install the cluster fix pack ( s. bugzilla) Randy Paries schrieb: Hello, How do I determine what value I should set tcpThreadCount to Currently I have the setting below and a very busy app server. Thanks Randy Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener tcpListenAddress=10.0.0.88 tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=6 / Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=pooled autoConnect=true waitForAck=true sendAllSessions=false sendAllSessionsSize=100 compress=true ackTimeout=15000/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cluster tcpThreadCount
Hey, Use the 5.5.9 with cluster fix pack for fastasyncqueue cluster mode. Yes, you can use the default config, but change the ackTimeout to 45000 when you have heavy load and big session replicated messages. At 5.5.11 I have change a lot inside the cluster implementation, but this version is currently an alpha release. Peter Randy Paries schrieb: Thanks for the response. What version was fastasyncqueue implemented? I am still running jakarta-tomcat-5.0 There are so many different values Is this a good default to start with (from the doc page)?? Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=fastasyncqueue doTransmitterProcessingStats=true doProcessingStats=true doWaitAckStats=true queueTimeWait=true queueDoStats=true queueCheckLock=true ackTimeout=15000 waitForAck=true keepAliveTimeout=8 keepAliveMaxRequestCount=-1/ -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Saturday, August 27, 2005 1:41 AM To: Tomcat Users List Subject: Re: Cluster tcpThreadCount Hey Randy, tcpThreadCount is the number of parallel NIO receiver threads. Every tomcat cluster node with pooled mode has 25 sender threads (Default). Normally two receiver thread per backup node are calc. More recevier worker means that you produce more load for replication at backup! At heavy loaded site I use only the fastasyncqueue mode. This mode has at my test case better performance and more guaranty that replication works well. You can also switch to the domain cluster model. Install more nodes with different backup domainnodes. Example Apache 1 and four tomcats T01 and T03 are inside domain A ( same mcast port) T02 and T04 are inside domain B ( same mcast port) T01 and T02 living at box B1 T03 and T04 living at box B2 Peter PS: When you used tomcat 5.5.9 don't forget to install the cluster fix pack ( s. bugzilla) Randy Paries schrieb: Hello, How do I determine what value I should set tcpThreadCount to Currently I have the setting below and a very busy app server. Thanks Randy Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener tcpListenAddress=10.0.0.88 tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=6 / Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=pooled autoConnect=true waitForAck=true sendAllSessions=false sendAllSessionsSize=100 compress=true ackTimeout=15000/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cluster tcpThreadCount
Hello, How do I determine what value I should set tcpThreadCount to Currently I have the setting below and a very busy app server. Thanks Randy Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener tcpListenAddress=10.0.0.88 tcpListenPort=4001 tcpSelectorTimeout=100 tcpThreadCount=6 / Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter replicationMode=pooled autoConnect=true waitForAck=true sendAllSessions=false sendAllSessionsSize=100 compress=true ackTimeout=15000/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]