Monitor of throttled server status and activity
You can monitor the status and activity of a throttled server using three new fields to the pdadmin server task show and pdadmin server task virtualhost show commands:
- Operational state: {Throttled|Offline|Online}
- Current requests: number
This field displays the number of worker threads actively using a junctioned server and allows us to determine when the server has become idle.
- Throttled at: date-time
This field only displays when the server is in the throttled operational state.
For example:
pdadmin> server task default-webseald-cruz show /pubs
Output is similar to the following:
Junction point: /pubs ... Server 1: ID: 6fc3187a-ea1c-11d7-8f4e-09267e38aa77 Server State: running Operational State: Throttled Throttled at: 2005-03-01-17:07:24 Hostname: backapp1.diamond.example.com ... Current requests: 3 ...
The "Current requests" field helps to determine if a server is idle. However, there are numerous conditions that prevent a completely accurate determination of the state of server activity. For example:
- The"Current requests" field is not updated during the lag time between the reading of the body of the response from the junctioned server and the return of the response to the client.
- If session lifetime resets and extensions have been configured, it becomes almost impossible to be completely sure no future operations will occur on the server.
Parent topic: Junction throttle messages