tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Utkarsh Dave <utkarshkd...@gmail.com>
Subject Information on sessionCacheSize !
Date Wed, 02 May 2018 00:18:31 GMT
Hello Team and Tomcat users,

I am trying to gather more information and the effect of parameter
"sessionCacheSize" in server.xml for a ssl connector.
I see this from the documentation "The number of SSL sessions to maintain
in the session cache."
If i do not add this parameter...my tomcat slows down and all the web
access becomes extremly slow within a couple of days.
This is because by default "0" size is assigned to this parameter which
means unlimited cached sessions.
So we added the parameter with the value of sessionCacheSize=10000
What is the effect of 10k cached session on tomcat, can the problem reoccur
once 10k sessions are cached back.
I am planning to modify it to test this with a value of sessionCacheSize=1.
How can I test to come to a good value for sessioncachesize.

My product is using tomcat 7.0.81 (bio connector) with openjdk1.7.0.161 on
Linux RedHat 6.

-Thanks
Utkarsh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message