The following error is displayed in the application server log:
[Appian WorkPoller - 0 [Notifications] (originally: default-threads - 19)] ERROR com.appiancorp.ra.workpoller.WorkPoller - Could not obtain 3 thread(s) after X attempts in work poller
The application server allocates up to 30 workpoller threads to receive and process work from the Appian engines. This issue occurs when all 30 workpoller threads are in use, preventing the engines from sending new work to the application server.
To resolve the issue, perform the following:
In Linux, run top, press the c key, then press Shift+H. This will show the threads sorted by highest to lowest CPU usage. Take a screenshot of the output.
In Windows, use Process Explorer or Process Monitor to show the threads for the Java process and take a screenshot of the top threads by CPU.
For JBoss: ps -ef | grep standalone
For Tomcat: ps -ef | grep bootstrap
jstack processid > /path/threaddump-YYYYMMDD-HHMM.txt
The usual culprits are:
This article applies to all versions of Appian.
Last Reviewed: November 2019
© 2020 Appian. All rights reserved.