number of users that can access site parally
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
where can define the number of users that can access site simultaniously?
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I don't know, but maybe you can get the number of sessions opened. So if the number of sessions are equal your limit, then someone will be able to access your site only when other session die.
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
In Tomcat you can control the number of Threads available for executing a request - presumably other servers have similar controls.
Bill
Bill
anarkali perera
Ranch Hand
Posts: 237
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
where is the place in tomcat can we do that?
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi, Anarkali.
See conf/server.xml.
where is the place in tomcat can we do that?
See conf/server.xml.
SCJP5.0, SCWCD5.0, OCEJPAD6, OCPJWSD6
anarkali perera
Ranch Hand
Posts: 237
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
can you give me the example code.i checked the server.xml.but there is not in my file?
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
If we see server.xml there is a connector for port 8080, where defined number of threads like,
SCJP5.0, SCWCD5.0, OCEJPAD6, OCPJWSD6
anarkali perera
Ranch Hand
Posts: 237
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
this for about server threds.
what happen if there are two sites deployed in same server.I need to restrict the users for one site?
what happen if there are two sites deployed in same server.I need to restrict the users for one site?
posted 16 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Please note the distinction between "users" and "threads". There is no real limit on the number of active users for Tomcat unless you implement a Domain that keeps a tally and simply bounces logins after the limit has been reached.
The limit on threads, however, is controlled by server.xml, and that restricts the maximum number of concurrent requests that Tomcat will handle.
Since a web client typically can run several request threads concurrently (this helps in things like loading images), this means that the momentary "concurrent maximum users" limit can potentially be LESS than the thread limit, even though the long-term number of users may vastly exceed the thread limit.
The limit on threads, however, is controlled by server.xml, and that restricts the maximum number of concurrent requests that Tomcat will handle.
Since a web client typically can run several request threads concurrently (this helps in things like loading images), this means that the momentary "concurrent maximum users" limit can potentially be LESS than the thread limit, even though the long-term number of users may vastly exceed the thread limit.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
| All of life is a contant education - Eleanor Roosevelt. Tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |











