Meaningless Drivel is fun!
The moose likes Tomcat and the fly likes Tomcat maxThreads attribute selection criteria Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat maxThreads attribute selection criteria" Watch "Tomcat maxThreads attribute selection criteria" New topic

Tomcat maxThreads attribute selection criteria

Prashant Chotu

Joined: Jun 28, 2012
Posts: 19

I am using tomcat 7 and wish to tune maxThreads attribute in server.xml.

Is there any selection criteria for this attribute ? I do have 8 GB RAM in my machine and allocates 4 GB RAM to tomcat JVM using -Xms and -Xmx JAVA_OPTS.

Let me know if you need more information.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17254

WHY do you wish to tune maxThreads? What sort of performance issues are you seeing that require it?

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Tomcat maxThreads attribute selection criteria
It's not a secret anymore!