File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Lots of tomcat processes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Lots of tomcat processes" Watch "Lots of tomcat processes" New topic
Author

Lots of tomcat processes

Abhijeet Gholkar
Greenhorn

Joined: Jun 11, 2002
Posts: 25
i am using tomcat 3.2.1 on Redhat linux 7.3.
After starting tomcat, when i check out the processes running on the machine using ps -ax, i see lots of java processes. All these processes seem to be taking up lots of resources. Is there any way of reducing the number of processes.
Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
As I understand it, on Linux, each Thread shows up as a process, but it is really not actually taking up that many resources. Most of those Threads are essential housekeeping Threads, but you can control the number of Threads that are available to process requests - see the <Connector elements in the server.xml file - the minProcessors and maxProcessors attributes control the number of Threads.
Bill
 
 
subject: Lots of tomcat processes
 
Threads others viewed
Tomcat requests hangs for a while
Multiple Java processes when tomcat starts
Forward vs Backwards .. in .. batch processing
how to reduce number of native threads in proc table
How to see tomcat process in linux
MyEclipse, The Clear Choice