PASOE agent fails to shutdown due to a worker thread hung on a read or write to the Session Manager, or if it the worker thread hangs due to a recursive Signal condition on AIX platforms specifically:
- The shutdown process will hang forever, waiting for ABL Sessions that are bound to their client to run their disconnect procedure as the worker thread is blocked or ABL Sessions waiting for the worker threads to complete.
- As a consequence, those hung agent worker threads never disconnect from their database and if the database is connected via shared memory, the shutdown process never gets to the point where the resource manager can be told to disconnect from the database.
When an ABL Session is deliberately destroyed while waiting on a read/write, the Session Manager and the Agent become out of sync in their count of how many ABL Sessions are available to be used. The Session Manager does not send new requests to the Agent because a new ABL Session is not prestarted to comply with the minAvailableAblSessions setting after the Session is terminated.