Kbase P59178: How does the AIA "ConnectionTimeout" parameter work?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/12/2003 |
|
Status: Unverified
GOAL:
How the AppServer Internet Adapters Idle Connection Timeout parameter works?
GOAL:
How the AIA "idleConnectionTimeout" works?
FIX:
The "idleConnectionTimout" property of AIA does not disconnect idle clients when the client has exceeded the set idle time.
The AppServer Internet Adapter uses a Watchdog thread to timeout client connections to the AIA instance. This thread wakes up after the value of the "idleConnectionTimeout" setting has passed to check for idle connections. The algorithm is to check the last access time of the client thread, and if the connection has been idle longer then the idleConnectionTimeout setting the AIA disconnects that client.
As an example:
Assume the "idleConnectionTimeout" property is set to 300 (5 minutes).
Watchdog wakes up at 10:00:00
Client connects at 10:00:01
Watchdog wakes up at 10:05:00, checks the idle time of the above client and determines that the client has only been idle 299 seconds thus not exceeding the "connectiontimeout" parameter. The watchdog thread does not disconnect this client but goes back into a sleep state.
Watchdog wakes up again at 10:10:00, this time the above client has been idle for 599 seconds, and this client is now disconnected.