This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

user configuration

 
Arun Prasath
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any way to configure the number of users who can access the tomcat server at a time?
if so, tell me. ( i mean number of users who can hit the server a time)
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a maxThreads attribute but I'm not sure I understand what you mean by number of users who can hit Tomcat at one time.

Do you mean actual concurrent HTTP requests or number of active sessions that can occur at the same time?

Explain, exactly what you're trying to do and we might be able to come up with a solution for you.
 
Arun Prasath
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes.i meant the number of concurrent http requests coming in to the tomcat server.......
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Arun AV",

Before we continue this discussion, would you mind fixing your screen name?
Bear gave you the links to our naming policy and the page for fixing it.

Here they are again.
JavaRanch Naming Policy
Profile Editor

Note after being asked/warned 3 times, accounts are subject to being closed without further warning. This will count as the second.

Thanks.
[ June 27, 2007: Message edited by: Ben Souther ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for fixing your name.


Have a look at the maxThreads, maxSpareThreads, minSpareThreads entries in this page for more information on configuring the number of concurrent hits Tomcat will accept.
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic