space
Previous Page | Next Page

SAS/IntrNet 9.2: Application Dispatcher

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:

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

This log file shows the following events:

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

Example 2

Here is another sample log file showing a pool service:

    1  Mon Aug 07 2000 13:22:53 GET SERVER pool1 xxx.yyy.com:2 5
    2  Mon Aug 07 2000 13:22:53 Started pool1 on xxx.yyy.com Pid: 17979
    3  Mon 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"

    4  Mon Aug 07 2000 13:22:53 Waiting for: pool1 5
    5  Mon Aug 07 2000 13:22:56 SET STATE pool1 xxx.yyy.com:4525 STARTED
    6  Mon Aug 07 2000 13:22:56 Returning: pool1 xxx.yyy.com:4525 5
    7  Mon Aug 07 2000 13:22:57 SET STATE pool1 xxx.yyy.com:4525 WORKING 5 1/3 1
    8  Mon 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:

1 The Application Broker requests an Application Server from the pool1 service. This request is assigned the number 5.
2 No server is available so the Load Manager starts a new Application Server.
3 This is the exact command that is used to start the server.
4 The requesting Broker is placed in the wait queue waiting for the server to start.
5 The server notifies the Load Manager that it has started.
6 The Load Manager releases the available server to Broker request 5
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.

8 The server completes this request and becomes IDLE again.

Previous Page | Next Page | Top of Page