views:

124

answers:

1

I'm using Tomcat 5.5 with Eclipse and at every startup the Tomcat spawns about 15 to 20 Daemon threads. It's usefull if you want to handle several requests "at once".
This is superficial on my development server and wastes ressources.

How can I reduce this number of Daemon threads?

+1  A: 

First of all, aren't you a bit exaggerating on this? "Wastes resources" with only 15-20 threads? Or is it just that they annoy you somehow? What's the exact problem you have with this?

At any way, best what you can do is to take a look in the HTTP connector configuration. There in you have attributes like acceptCount, maxSpareThreads and maxThreads with which you can play.

BalusC
Yes, I'm exaggerating. :) I'm just curious how to change it.
furtelwart