Hi,
I have noticed on our network an important bandwith consumption that
seems related to tomcat instances.
I am currently using multiple tomcat 6.0.18 instances (on linux
plateform with jvm 1.6), some of theses instances belonging to a same
cluster.
So, I was thinking first that this traffic was related to sessions
replications.
However, the content of the communication does not seems related to
session information. You will find below an sample of the communication.
RSP¬í7YÊWqqqcation.referentiel-common-1.0.localhost/_/WEB-INF/lib/commonwork/Catalina/localhost/_/WEB-wr-2.0.1-patch.2.jar
file:/datfile:/data/tomcat1-pmvc/work/C0.jar
file:/data/tomcat1-pmvc/NF/lib/partner.abcroisiere.outvc/work/Catalina/localhost/_/Wt/_/WEB-INF/lib/stax-utils-200ions-1.2.6.jar
file:/data/tomctalina/localhost/_/WEB-INF/lib-pmvc/work/Catalina/localhost/s-validator-1.3.1.jar
file:/daalhost/_/WEB-INF/lib/freemarkeons-annotations-3.3.0.ga.jar
fa/localhost/_/WEB-INF/lib/jsr1/_/WEB-INF/lib/partner.weather1-pmvc/work/Catalina/localhostB-INF/lib/xfire-annotations-1.k/Catalina/localhost/_/WEB-INFcat1-pmvc/work/Catalina/localhmmons-validator-1.3.1.jar
file/localhost/_/WEB-INF/lib/freemcommons-annotations-3.3.0.ga.jalina/localhost/_/WEB-INF/lib/host/_/WEB-INF/lib/partner.weamcat1-pmvc/work/Catalina/local_/WEB-INF/lib/xfire-annotationdata/tomcat1-pmvc/work/Catalinta/tomcat1-pmvc/work/Catalina/B-INF/lib/commons-pool-1.3.jar_/WEB-INF/lib/framework.fronteB-INF/lib/front-office-model-1rnate-validator-3.0.0.ga.jar
fWEB-INF/lib/jta-1.0.1B.jar
fillocalhost/_/WEB-INF/lib/partneCatalina/localhost/_/WEB-INF/l/lib/xfire-core-1.2.6.jar
fileina/localhost/_/WEB-INF/lib/ana/localhost/_/WEB-INF/lib/cataar
file:/data/tomcat..........
As the communication seems related to tomcat directory structure, I take a look
to the documentation
(http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html,http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-deployer.html)
and the FAQ (http://wiki.apache.org/tomcat/FAQ/Clustering
<http://www.google.com/url?q=http%3A%2F%2Fwiki.apache.org%2Ftomcat%2FFAQ%2FClustering&sa=D&sntz=1&usg=AFrqEzeg8m3U3MrJxhDMezfyNO4_HHq7gA>)
but find nothing that could help me to understand what is producing such communication.
The server xml part that enables clustering is currently this one. You
will notice that the farm deployer is commented as I do not want tomcat
farming :
<!-- Clustering de sessions -->
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"
channelSendOptions="8">
<Manager className="org.apache.catalina.ha.session.DeltaManager"
expireSessionsOnShutdown="false" notifyListenersOnReplication="true"/>
<Channel className="org.apache.catalina.tribes.group.GroupChannel">
<Membership
className="org.apache.catalina.tribes.membership.McastService"
address="228.0.0.4" port="45564" frequency="500" dropTime="3000"/>
<Receiver
className="org.apache.catalina.tribes.transport.nio.NioReceiver"
address="auto" port="4000" selectorTimeout="100" maxThreads="6"/>
<Sender
className="org.apache.catalina.tribes.transport.ReplicationTransmitter">
<Transport
className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>
</Sender>
<Interceptor
className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>
<Interceptor
className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>
</Channel>
<Valve className="org.apache.catalina.ha.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/>
<Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>
<!--Deployer
className="org.apache.catalina.ha.deploy.FarmWarDeployer"
tempDir="/data/tomcat3/temp/war-temp/"
deployDir="/data/tomcat3/temp/war-deploy/"
watchDir="/data/tomcat3/temp/war-listen/"
watchEnabled="false"/-->
<ClusterListener
className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>
<ClusterListener
className="org.apache.catalina.ha.session.ClusterSessionListener"/>
</Cluster>
Does someone have any clues to find the origin of these communications
that will allow me to reduce or disable this traffic ?
Thanks for your attention.