Hello,
I have this problem in which there is very little data to get to a solution.
- Running a 5 node cluster of 5.5.23 on java 1.5.0_10. Debian 4.0 and kernel
2.6.22.18-SMP.
- It runs behind a Linux LVS which balances the connections over the cluster.
- Attached is my server.xml.
- Sessions last for 8 hours, so customers can make a full workday while staying
logged in.
This has run very stable for months. Nothing changed in handling sessions. The
rest of the fixes were very small last weeks and I reviewed them more than ones
and nothing related to sessions happened.
But since two weeks a lot of users are logged out now and than. This happens in
bursts I think. If I restart every node in the cluster the problem disappears
for a while (a day or a couple of hours).
Last week I upgraded to 5.5.26, but the problem is still there.
The logs give no errors.
I'm running Tomcat clusters for a couple of years now and solved a couple of
problems with them, but now I have no clue in any logs about what is happening
except users don't have a session anymore. (Possibly sessions aren't shared
very well and after a 'load re-balancing' users get on a server which doesn't
know the session.)
Are there any tips? How can I start debugging this? Is there a way to verify
all servers have the same sessions?
Ronald.
<Server port="8005" shutdown="SHUTDOWN">
<GlobalNamingResources>
<!-- Used by Manager webapp -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8080" maxHttpHeaderSize="8192"
maxThreads="300" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="1024"
connectionTimeout="20000" disableUploadTimeout="true"
compression="on"
compressableMimeTypes="text/html,text/xml,text/plain,text/javascript,text/css"/>
<Engine name="Catalina" defaultHost="localhost">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase" />
<Host name="localhost"
appBase="/usr/local/crm-PREVIEW/deployed"
unpackWARs="true" autoDeploy="false" reloadable="false"
usePooling="false"
xmlValidation="false" xmlNamespaceAware="true">
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
manager.className="org.apache.catalina.cluster.session.DeltaManager"
manager.stateTransferTimeout="60"
manager.sendAllSessions="false"
manager.sendAllSessionsSize="500"
manager.sendAllSessionsWaitTime="20"
service.mcastPort="8079" />
</Host>
</Engine>
</Service>
</Server>
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]