Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1690
  • Last Modified:

tomcat max threads

anyone know how to increase Tomcat's max threads (5.0.28).
Any idea what the max number of threads I can assign ?

thanks

Dave
0
dmoshal
Asked:
dmoshal
1 Solution
 
durgaprasad_jCommented:
hi,
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
DP
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
dmoshalAuthor Commented:
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.

Dave
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now