Hi, We are running an intranet application using JSP/Java and Tomcat Server. We are getting the following error.
Particularly we are getting this error when the Current Thread equals the Busy thread count in manager. And when it reaches the max thread, the server crashes. We even tried to increase size of the heap and also thread size. We could not identify why the server is crashing.
Connection Pool settings: Maximum active connections: 10 Max idle connection : 4
Max threads : 53 Min spare threads : 5 Max spare threads : 15
Tomcat is running on HP-UX server. It supports only 64 threads per process. I've even tried setting the heap size to 1gb and tried analyzing the heap using verbosegc option.But nothing helped.
Does the out of memory error occure after only a few requests have been processed or does it run for days before crashing?
If this was my problem I would be using the Management app to watch the Threads and Memory use. I had a problem once where requests Threads were just hanging - waiting for something - you will see this on the management display.
Shilpi We have analyzed for memory leak too.. it is something like the when a menu item is clicked there is a sudden spawn of 20-30 threads which we are not sure which process is creating..Increased to max size to 256mb..Its in production
Bill We are analyzing with the mgmt console.. the thread count does not hang but increases abruptly
Now we are using Lamdaprobe for identifying..Still no soln..