AW: tomcat 6.0.32 stops expiring sessions
No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: tomcat 6.0.32 stops expiring sessions
On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: AW: tomcat 6.0.32 stops expiring sessions
Yes we are using SSL. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: tomcat 6.0.32 stops expiring sessions
Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org When you see the issue take a series of thread dumps and check that the background thread us not stuck on another activity. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: AW: tomcat 6.0.32 stops expiring sessions
On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: AW: AW: tomcat 6.0.32 stops expiring sessions
No, sorry. Default should be 30 Minutes We set it to 66 Minutes But the sessions didn't even expire after 75 hours inactive time. -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 14:01 An: Tomcat Users List Betreff: Re: AW: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: AW: AW: tomcat 6.0.32 stops expiring sessions
On 11/5/2012 10:07 AM, Altmeier, Christian wrote: No, sorry. Default should be 30 Minutes We set it to 66 Minutes But the sessions didn't even expire after 75 hours inactive time. Are you sure they're really inactive that entire time, and don't have some kind of keepalive going on? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 14:01 An: Tomcat Users List Betreff: Re: AW: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions
Yes I think so: Session Id Guessed Locale Guessed User name Creation Time Last Accessed Time Used Time Inactive Time TTL 9B33CA0CA59049557CEA6B4938FA98DB2012-11-02 12:42:38 2012-11-02 12:42:38 00:00:0075:44:05-74:38:05 D4E1E89D5758A7695A39D404C42290772012-11-02 12:39:36 2012-11-02 12:44:41 00:05:0575:42:01-74:36:01 2ECEF959105BC59118EC462A37FA62AA2012-11-05 01:10:58 2012-11-05 01:54:09 00:43:1014:32:34-13:26:34 ... -Ursprüngliche Nachricht- Von: David kerber [mailto:dcker...@verizon.net] Gesendet: Montag, 5. November 2012 16:20 An: Tomcat Users List Betreff: Re: AW: AW: AW: tomcat 6.0.32 stops expiring sessions On 11/5/2012 10:07 AM, Altmeier, Christian wrote: No, sorry. Default should be 30 Minutes We set it to 66 Minutes But the sessions didn't even expire after 75 hours inactive time. Are you sure they're really inactive that entire time, and don't have some kind of keepalive going on? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 14:01 An: Tomcat Users List Betreff: Re: AW: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions
On 05/11/2012 15:27, Altmeier, Christian wrote: Yes I think so: Session Id Guessed Locale Guessed User name Creation Time Last Accessed Time Used Time Inactive Time TTL 9B33CA0CA59049557CEA6B4938FA98DB2012-11-02 12:42:38 2012-11-02 12:42:38 00:00:0075:44:05-74:38:05 D4E1E89D5758A7695A39D404C42290772012-11-02 12:39:36 2012-11-02 12:44:41 00:05:0575:42:01-74:36:01 2ECEF959105BC59118EC462A37FA62AA2012-11-05 01:10:58 2012-11-05 01:54:09 00:43:1014:32:34-13:26:34 ... Are you holding a reference to the session object anywhere? p -Ursprüngliche Nachricht- Von: David kerber [mailto:dcker...@verizon.net] Gesendet: Montag, 5. November 2012 16:20 An: Tomcat Users List Betreff: Re: AW: AW: AW: tomcat 6.0.32 stops expiring sessions On 11/5/2012 10:07 AM, Altmeier, Christian wrote: No, sorry. Default should be 30 Minutes We set it to 66 Minutes But the sessions didn't even expire after 75 hours inactive time. Are you sure they're really inactive that entire time, and don't have some kind of keepalive going on? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 14:01 An: Tomcat Users List Betreff: Re: AW: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com
AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions
I don't think so ... but I can't exclude it. The problem is, that everything works fine and then suddenly all session, which are not closes by the browser, stay open. Have you an idea how I can see, if there are any references? -Ursprüngliche Nachricht- Von: Pid [mailto:p...@pidster.com] Gesendet: Montag, 5. November 2012 16:43 An: Tomcat Users List Betreff: Re: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions * PGP Signed: 05.11.2012 at 16:42:54 On 05/11/2012 15:27, Altmeier, Christian wrote: Yes I think so: Session Id Guessed Locale Guessed User name Creation Time Last Accessed Time Used Time Inactive Time TTL 9B33CA0CA59049557CEA6B4938FA98DB2012-11-02 12:42:38 2012-11-02 12:42:38 00:00:0075:44:05-74:38:05 D4E1E89D5758A7695A39D404C42290772012-11-02 12:39:36 2012-11-02 12:44:41 00:05:0575:42:01-74:36:01 2ECEF959105BC59118EC462A37FA62AA2012-11-05 01:10:58 2012-11-05 01:54:09 00:43:1014:32:34-13:26:34 ... Are you holding a reference to the session object anywhere? p -Ursprüngliche Nachricht- Von: David kerber [mailto:dcker...@verizon.net] Gesendet: Montag, 5. November 2012 16:20 An: Tomcat Users List Betreff: Re: AW: AW: AW: tomcat 6.0.32 stops expiring sessions On 11/5/2012 10:07 AM, Altmeier, Christian wrote: No, sorry. Default should be 30 Minutes We set it to 66 Minutes But the sessions didn't even expire after 75 hours inactive time. Are you sure they're really inactive that entire time, and don't have some kind of keepalive going on? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 14:01 An: Tomcat Users List Betreff: Re: AW: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Tomcat 6.0.32 Our connector config: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 scheme=https secure=true proxyName=..xx proxyPort=443/ -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:56 An: Tomcat Users List Betreff: Re: AW: tomcat 6.0.32 stops expiring sessions On 05/11/2012 8:41 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: No that's OK, I don't mean the time a user stays inactive for some minutes. The session timeout is set to 66 minutes. I have sessions which are inactive for 70 hours ... Which tomcat version? Are they SSL sessions by some chance? Actually can you post here your Connector config please? -Ursprüngliche Nachricht- Von: Igor Cicimov [mailto:icici...@gmail.com] Gesendet: Montag, 5. November 2012 10:26 An: Tomcat Users List Betreff: Re: tomcat 6.0.32 stops expiring sessions On 05/11/2012 6:50 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Hi, I have a big problem. After some time, tomcat stops expiring sessions. We have enabled logging for org.apache.catalina.session.ManagerBase. So we see that at first everything works fine and suddenly sessions didn't expire anymore. Before tomcat stops expiring sessions, it is noticeable that some sessions need a lot of time to expire (10 - 30 minutes). In this time, other session expire as expected. Isnt that what you would expect if some users stay active for longer? Have you confirmed that the long lasting sessions are idle? I think default session timeout in tomcat is 30 minutes so are you saying you have changed that to a lower value but its not working? I hope someone has an idea. Tomcat runs on a 64bit Linux server. Greeting IDS Scheer Consulting GmbH Gesch?ftsf?hrer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Stra?e 17, 66115 Saarbr?cken, Germany - Registergericht/Commercial register: Saarbr?cken HRB 19681 http://www.ids-scheer-consulting.com IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com --- - - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com
Re: AW: AW: tomcat 6.0.32 stops expiring sessions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor, On 11/5/12 8:01 AM, Igor Cicimov wrote: On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Uh, what? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCYFq0ACgkQ9CaO5/Lv0PA9GwCgsi0XC263ZmYvc+7WkQuNm9t1 pjsAoJsYXtiXPA5KVb9ySjf8Rq2nlYcn =CHHa -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 11/5/12 10:48 AM, Altmeier, Christian wrote: I don't think so ... but I can't exclude it. The problem is, that everything works fine and then suddenly all session, which are not closes by the browser, stay open. Have you an idea how I can see, if there are any references? Are you obtaining the list of sessions from Tomcat's manager app or some other way? Did you take markt's advice to take a thread dump to see if the background thread is stuck on something? Just post the current stack trace of the background thread (it's called ContainerBackgroundProcessor with some other stuff tacked onto the end). What happens if you request explicit expiration of sessions? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCYGLwACgkQ9CaO5/Lv0PDUdwCfaDtN4Kwi6vXCLHJVJ9w2UOvI mUIAoLyKyCpTuhLPiudpBCE+5c2UMFNu =2/Yv -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: AW: AW: tomcat 6.0.32 stops expiring sessions
On 06/11/2012 6:43 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor, On 11/5/12 8:01 AM, Igor Cicimov wrote: On 05/11/2012 10:01 PM, Altmeier, Christian christian.altme...@softwareag.com wrote: Yes we are using SSL. The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Uh, what? Hi Chris, I got this from the config page http://tomcat.apache.org/tomcat-6.0-doc/config/http.html where at the bottom under SSL support it says the default sessionTimeout is 24 hours if not specified. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCYFq0ACgkQ9CaO5/Lv0PA9GwCgsi0XC263ZmYvc+7WkQuNm9t1 pjsAoJsYXtiXPA5KVb9ySjf8Rq2nlYcn =CHHa -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: AW: AW: tomcat 6.0.32 stops expiring sessions
From: Igor Cicimov [mailto:icici...@gmail.com] Subject: Re: AW: AW: tomcat 6.0.32 stops expiring sessions The default session timeout for ssl in tomcat6 is 24 hours, maybe that explains why. Uh, what? Hi Chris, I got this from the config page http://tomcat.apache.org/tomcat-6.0-doc/config/http.html where at the bottom under SSL support it says the default sessionTimeout is 24 hours if not specified. That's the SSL session, not the HTTP session. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions
Hey chris, do you have a guideline how to get the thread dump? We don't host tomcat by our self. It's a customer system. Yes I use the manager app to see the sessions. -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Montag, 5. November 2012 20:51 An: Tomcat Users List Betreff: Re: AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions * PGP Signed by an unknown key Christian, On 11/5/12 10:48 AM, Altmeier, Christian wrote: I don't think so ... but I can't exclude it. The problem is, that everything works fine and then suddenly all session, which are not closes by the browser, stay open. Have you an idea how I can see, if there are any references? Are you obtaining the list of sessions from Tomcat's manager app or some other way? Did you take markt's advice to take a thread dump to see if the background thread is stuck on something? Just post the current stack trace of the background thread (it's called ContainerBackgroundProcessor with some other stuff tacked onto the end). What happens if you request explicit expiration of sessions? -chris * Unknown Key * 0xF2EFD0F0(L) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org IDS Scheer Consulting GmbH Geschäftsführer/Managing Directors: Michael Rehm, Ivo Totev Sitz/Registered office: Altenkesseler Straße 17, 66115 Saarbrücken, Germany - Registergericht/Commercial register: Saarbrücken HRB 19681 http://www.ids-scheer-consulting.com
RE: AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions
From: Altmeier, Christian [mailto:christian.altme...@softwareag.com] Subject: AW: AW: AW: AW: AW: AW: tomcat 6.0.32 stops expiring sessions do you have a guideline how to get the thread dump? It's in the FAQ: http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org