Specifications
Chapter 2 Working with Web Service 31
Performance Tuning
You can limit the period of time that users are connected to the server. You can also
specify the number of connections to websites on the server at one time.
Setting Simultaneous Connections for the Web Server
You can specify the number of simultaneous connections to your web server. When
the maximum number of connections is reached, new requests receive a message that
the server is busy.
Simultaneous connections are concurrent HTTP client connections. Browsers often
request several parts of a webpage at the same time, and each request creates a
connection. As a result, a high number of simultaneous connections can be reached
if the site has pages with multiple elements and many users are trying to reach the
server at one time.
To set the maximum number of connections to your web server:
1 Open Server Admin and connect to the server.
2 Click the triangle at the left of the server.
The list of services appears.
3 From the expanded Servers list, select Web.
4 Click Settings, then click General.
5 Enter a number in the “Maximum simultaneous connections” eld.
The range for maximum simultaneous connections is 1 to 1024. The default is 1024, but
you can set the number higher or lower, taking into consideration the performance
needs of your server.
6 Enter the time in seconds for the Connection timeout.
The default is 300 seconds.
This is the length of time before a connection to your web server times out. This
happens when a user is viewing web pages but not interacting with the site.
7 Enter the number of minimum and maximum spare servers.
Spare server settings regulate the creation of idle spare server processes. Keep in mind
the following:
For maximum spare servers, if more than the maximum number of spare servers are Â
idle, the server stops adding spare servers beyond the maximum limit.
For minimum spare servers, if there are fewer than the minimum spare servers Â
required, the server adds spare servers at a rate of one per second.
8 Enter the number of servers to start.
This is the number of spare servers that get created at startup.
9 Click Save.