PASTAplus / DataPortal

EDI Data Portal
3 stars 3 forks source link

Review edu.lternet.pasta.portal.listener.SessionListener for memory leaks #101

Closed servilla closed 11 months ago

servilla commented 1 year ago

Review edu.lternet.pasta.portal.listener.SessionListener for memory leaks. Logfiles indicate that a significant number of active sessions possibly resulted in an out-of-memory crash of Tomcat9 on 3 Sept 2023. Syslog shows active session reaching over 9,000 before a controlled shutdown of Tomcat9 occurred about 11:30am MDT. The SessionListener class manages the creation and destruction of Tomcat user sessions on the Data Portal.

In addition, the logging level for the Create/Destroy events should be changed from WARN to INFO.