We have an web application in Linux environment that the CPU sometimes goes up to 99%.
Sometimes it takes days, and other times it takes minutes. We are using Hibernate with Spring in a tomcat webapp and an Oracle Database.
Checking the logs it appears the following:
"ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!".
And then the sessioncount starts to grow until 256 sessions (the max allowed by our Apache confs). This is the line that appears when the session count gets 256:
"ContainerBackgroundProcessor[StandardEngine[Catalina]] ManagerBase - Start expire sessions StandardManager at 1259947978384 sessioncount 256"
After that the CPU gets 99%.
Any suggestions? All will be HIGHLY appreciated.
Thanks in advance.