SAS/IntrNet 9.1: Application Dispatcher |
The Application Load Manager generates a log file that lists requests and events that are processed by the Load Manager. This log can help you determine how Application Dispatcher requests are distributed among available servers or to find problems when starting new servers.
Here is a sample log file for a socket service with line numbers added for reference:
Line 1
Wed Jun 03 2000 09:16:14 GET SERVER default aaa.bbb.com:5612 3
|
This log file shows the following events:
Line 1 | The Application Broker requests an Application Server from the default service. This request is assigned the number 3. |
Line 2 | No server is available. Load Manager is waiting for an idle server. |
Line 3 | The server completes a previous request and notifies the Load Manager that the server is IDLE. The 0/1 indicates that the Application Server does not have any programs running but has 1 space available. The trailing 0 is the number of active server sessions. |
Line 4 | The Load Manager releases the available server to Broker request 3. |
Line 5 | The Broker has submitted its request to the server. The server notifies the Load Manager that the server is BUSY, with the 1 available space in use and 0 server sessions active. |
Line 6 | The server completes this request and becomes IDLE again. |
Line 7 | The Application Server is shut down. |
Here is another sample log file showing a pool service with line numbers added for reference:
Line 1
Mon Aug 07 2000 13:22:53 GET SERVER pool1 xxx.yyy.com:2 5
|
This log file shows the following events:
Line 1 | The Application Broker requests an Application Server from the pool1 service. This request is assigned the number 5. |
Line 2 | No server is available so the Load Manager starts a new Application Server. |
Line 3 | This is the exact command that is used to start the server. |
Line 4 | The requesting Broker is placed in the wait queue waiting for the server to start. |
Line 5 | The server notifies the Load Manager that it has started. |
Line 6 | The Load Manager releases the available server to Broker request 5 |
Line 7 | The Broker has submitted its request to the server. The server
notifies the Load Manager that the server is in a WORKING state,
with 1 of the 3 available spaces in use and 1 server session active.
Note: The WORKING state will only appear if the Applications Server was started with the PROGRAMS parameter set to be greater than one. |
Line 8 | The server completes this request and becomes IDLE again. |
SAS/IntrNet 9.1: Application Dispatcher |