HP Integrity NonStop J-Series User Manual

Page 310

Advertising
background image

each of the five static processes can handle 100 requests. In this example, the capacity of the
iTP WebServer environment can be summarized as follows:

The static capacity of iTP WebServer is [Numstatic X TANDEM_RECEIVE_DEPTH]=
500.

The dynamic capacity is [(Maxservers – Numstatic) X
TANDEM_RECEIVE_DEPTH]

= 4500.

The total capacity of iTP WebServer is [Maxservers X TANDEM_RECEIVE_DEPTH]=
5000.

Using this configuration, the iTP WebServer can handle 500 simultaneous requests statically.
As soon as it receives the 501st request, a dynamic httpd process is created, which functions
as a normal httpd process. The capacity of each of the dynamic httpd processes is the
value of TANDEM_RECEIVE_DEPTH. When the load decreases, the dynamic httpd processes
goes down.

For more information on the Server configuration directive of iTP WebServer, see the iTP
Secure WebServer System Administrator's Guide.

Guidelines for Configuring the Server Directive

Before configuring the various attributes of the Server directive, you must determine the
following parameters:

Processors for httpd Processes

Application parameters: Average Load, Peak Load, and Average Response Time

Processors for httpd Processes

When you start the iTP WebServer, the static httpd processes equal to the value of
Numstatics

are started on your NonStop system. By default, all the configured processors

are taken into account. If the value of Numstatic is set to n, and the number of configured
processors on the system are equal to n, one static httpd process is started on each of the
processors. However, if the value of Numstatic is less than the number of configured
processors, one static httpd process starts on some of the processors, while the remaining
processors will not have any static httpd process.

The following example explains how you can determine the processors on which you intend
to start httpd processes and configure the processors directive.

Example:

Assume that you have a 16-processor system and you want to start httpd processes on
processors 0, 1, 2, 3, 4, 5. For this, the processors configuration attribute must be configured
as processors 0 1 2 3 4 5.

In this scenario:

If you set the value of Numstatic equal to 6, each of the processors 0, 1, 2, 3, 4, 5
will have one static httpd process.

If you set the value of Numstatic equal to a multiple of 6, each of the processors 0, 1,
2, 3, 4, 5 will have (Numstatic/6) static httpd processes.

If you set the value of Numstatic equal to 5, any 5 of the processors 0, 1, 2, 3, 4, 5
will have one static httpd process, and remaining processors will not have any httpd
process.

If you set the value of Numstatic equal to 9, any three of the processors 0, 1, 2, 3, 4,
5 will have two static httpd process and each of the remaining three processors will
have one httpd process.

310

Configuring Axis2/Java Applications on NonStop Systems

Advertising
This manual is related to the following products: