Application Load Manager Log Files

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.

Example 1

Here is a sample log file for a socket service:
1Wed Jun 03 2000 09:16:14 GET SERVER default aaa.bbb.com:5612 3
2Wed Jun 03 2000 09:16:14 Waiting for default
3Wed Jun 03 2000 09:16:18 SET STATE default aaa.bbb.com:5612 IDLE 2 0/1 0
4Wed Jun 03 2000 09:16:19 Returned default aaa.bbb.com:5612 3
5Wed Jun 03 2000 09:16:23 SET STATE default aaa.bbb.com:5612 BUSY 3 1/1 0
6Wed Jun 03 2000 09:16:26 SET STATE default aaa.bbb.com:5612 IDLE 3 0/1 0
7Wed Jun 03 2000 09:16:26 SET STATE default aaa.bbb.com:5612 SHUTDOWN

This log file shows the following events:

1The Application Broker requests an Application Server from the default service. This request is assigned the number 3.
2No server is available. Load Manager is waiting for an idle server.
3The 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.
4The Load Manager releases the available server to Broker request 3.
5The 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.
6The server completes this request and becomes IDLE again.
7The Application Server is shut down.

Example 2

Here is another sample log file showing a pool service:
1Mon Aug 07 2000 13:22:53 GET SERVER pool1 xxx.yyy.com:2 5
2Mon Aug 07 2000 13:22:53 Started pool1 on xxx.yyy.com Pid: 17979
3Mon Aug 07 2000 13:22:53 Command: 
    /usr/local/bin/sas/usr/local/intrnet/pool1/appstart.sas
       -rsasuser -noterminal -noprint -nolog -SYSPARM
       "loadmgr=xxx.yyy.com:5555 serviceid=pool1 port=000000"
4Mon Aug 07 2000 13:22:53 Waiting for: pool1 5
5Mon Aug 07 2000 13:22:56 SET STATE pool1 xxx.yyy.com:4525 STARTED
6Mon Aug 07 2000 13:22:56 Returning: pool1 xxx.yyy.com:4525 5
7Mon Aug 07 2000 13:22:57 SET STATE pool1 xxx.yyy.com:4525 WORKING 5 1/3 1
8Mon Aug 07 2000 13:22:58 SET STATE pool1 xxx.yyy.com:4525 IDLE 5 0/3 1

This log file shows the following events:

1The Application Broker requests an Application Server from the pool1 service. This request is assigned the number 5.
2No server is available so the Load Manager starts a new Application Server.
3This is the exact command that is used to start the server.
4The requesting Broker is placed in the wait queue waiting for the server to start.
5The server notifies the Load Manager that it has started.
6The Load Manager releases the available server to Broker request 5
7The 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 appears only if the Applications Server was started with the PROGRAMS parameter set to be greater than one.
8The server completes this request and becomes IDLE again.