tomcat max threads

Posted on 2005-03-07
Medium Priority
Last Modified: 2013-11-24
anyone know how to increase Tomcat's max threads (5.0.28).
Any idea what the max number of threads I can assign ?


Question by:dmoshal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 13483956
just open <Tomcat-install-dir>/conf/server.xml . You will a Connector element in that xml file [its around 76 line]. In that element, there is a attribute called maxThreads. Try changing that.

I saw that option in tomcat 5.5.4. I dont know about tomcat 5.0.28 [ mostly it will be same in this also].

Hope this helps
LVL 30

Accepted Solution

Mayank S earned 200 total points
ID: 13483991

Author Comment

ID: 13487581
thanks - you've both  been very helpful - any idea where I can find more info on the threading parameters - there seem to be several, and I have an unusual application which uses many persistent connections. I'm considering non-blocking NIO as an alternative.


Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question