I plan to look into the load balancing and running more JServs, but I was
wondering if anyone new what the initialCapacity, IncrementCapacity, and
MaximumCapacity variables can handle. How many concurrent Servlets can
Jserv run with this setting and the MaxConnection=100. The
Jserv.properties file says:
# Set the maximum number of socket connections JServ may handle
simultaneously.
# (this number does not identify the maximum number of concurrent servlet
# requests: see the JServ protocol specification for more info on this)
# Syntax: security.maxConnections=(int)>1
# Default: 50
security.maxConnections=100
but the Jserv protocol specs say nothing about this setting. I'm trying to
find where my bottleneck is, so want to find out how many concurrent
servlets I can run at each level currently.
PAUL M. LUCAS
AIX System Admin.
T/L 861-7415
External 972-561-7415
Jean-Luc Rochat <[EMAIL PROTECTED]> on 04/14/99 11:46:55 AM
Please respond to "Java Apache Users"
<[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
cc: (bcc: Paul Lucas/Dallas/IBM)
Subject: Re: Jserv defaults for High Volume Website
[EMAIL PROTECTED] wrote:
> I am running a very high volume web site with Apache 1.3.4 and Jserv
1.0b2
> and I'm wondering if the default setting for the servlt zone I created
are
> set high enough. In particular the Thread settings below. When my volume
> of users is at its highest Jserv seems to hang indefinitely, so I'm
> wondering if all the sockets are getting used up and getting "clogged".
>
> # SingleThreadModel Servlets parameters
> ########################################
>
> # Set the initial capacity of the STM servlets pool.
> # Syntax: singleThreadModelServlet.initialCapacity=(int)>1
> # Default: 5
> singleThreadModelServlet.initialCapacity=5
>
> # Set the number of servlet instances should be added to the pool if
found
> empty.
> # Syntax: singleThreadModelServlet.incrementCapacity=(int)>1
> # Default: 5
> singleThreadModelServlet.incrementCapacity=5
>
> # Set the maximum capacity of the STM pool
> # Syntax: singleThreadModelServlet.maximumCapacity=(int)>1
> # Default: 10
> singleThreadModelServlet.maximumCapacity=10
>
> And in my jserv properties file I have the MaxConnections set to 100, I'm
> not sure how high I should set this since I have such a high volume. I
get
> as many as 170 httpd deamons running simultaneously, and I'm trying to
send
> all my servlets through Jserv, about 50,000 a day.
>
Hi,
for very high volumes websites, I shoud recommend trying the latest
load-balancing features.
(still experimental, and needing volunteers to bench/report bugs).
see : http://java.apache.org follow JServ -> Documentation ->
load-balancing.
Jean-Luc
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]