This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Excessive background threads with Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Excessive background threads with Tomcat" Watch "Excessive background threads with Tomcat" New topic

Excessive background threads with Tomcat

jeff wisgo

Joined: Apr 20, 2004
Posts: 15
I am trying to track down why I am getting a OutOfMemory exception in my tomcat log, so looking back in my logs I find the following a bit before I run out of memory:

Which repeats until [74] and then I get the following message forever until the sever is reset (in this case, for 5 hours)


2006-02-22 03:13:21 HttpConnector[8080] No processor available, rejecting this connection


I looked at the tomcat access logs and my application logs, and there is virtually nothing going on during this period of time. I am totally clueless what caused this continual spawning of threads to occur. Does anyone have any idea what could cause this? Could it be there is some sort of request which is not being written to the access_log?

Thanks in advance
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12759
That certainly is mysterious alright.
1. How long has Tomcat been running when this happens?
2. Do you have the Manager app installed? If so can you get it to run when the Thread spawning happens?

I had a mysterious Thread problem which turned out to be a Goggle robot hitting a link that started a process that hung. Looking at the Thread report in the Manager helped figure that one out.

wood burning stoves
subject: Excessive background threads with Tomcat
Similar Threads
Tomcat Configuration -Help pls
I am connecting liferay communtiy edition 6.0.6 with postgresql 9.1 and using apache tomcat server6.
How to make Catalina the web container
Log4j - Could not get Thread number in log
J2ee server Exception