aspose file tools*
The moose likes Tomcat and the fly likes maximum concurrent session in apache tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "maximum concurrent session in apache tomcat" Watch "maximum concurrent session in apache tomcat" New topic
Author

maximum concurrent session in apache tomcat

ramzi ghaith
Greenhorn

Joined: Apr 03, 2007
Posts: 12
Hi All,

how i can know the maximum concurrent session in apache tomcat,
i'm using tomcat version 4.

Any help in this regard.

Thanks in advance.
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
Doesn't that depend on the size/speed of the server, memory, etc.?

If there is a setting in Tomcat, I do not know about it.

Question better suited for Bill Brogden. He knows everything.


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

There is no hard number for the number of sessions.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
What an intro! Anyway -

Tomcat can serialize sessions out to disk so total number of active sessions is not a limit, assumng your sessions are Serializable. "Concurrent" requests are limited by the Thread and acceptCount settings - see your server.xml file. Here is one from Tomcat 5.5.20



The Thread here refer to the Thread Pool available to handle requests. As I recall, acceptCount is the number of requests that can be held pending the availability of a Thread from the pool. A google search for "tomcat acceptcount" turned up lots of confusion about this configuration.

Bill
 
wood burning stoves
 
subject: maximum concurrent session in apache tomcat