You are currently reviewing an older revision of this page.
When trying to initiate some processes in an environment, a 500 - Internal Server Error is displayed.
When checking CPU usage on the server hosting the Appian engines, a single execution engine is found to be running at 100% CPU. Steps to verify this are listed below:
top
c
shift+p
<APPIAN_HOME>/server/_bin/k/linux64/k <APPIAN_HOME>/server/_lib/adb
<APPIAN_HOME>/server/process/exec/02/gw1
This issue occurs when one of the below engine performance logs reaches 10 megabytes in size:
These logs can be found in the <APPIAN_HOME>/logs/perflogs directory. These logs will rollover anytime an execution engine is restarted. Therefore, it has been calculated that this behavior should only occur if an execution engine has been running continuously for no less than approximately 60 days.
<APPIAN_HOME>/logs/perflogs
The reason these logs can cause an execution engine to max out at 100% CPU utilization is a result of how select values in these logs are calculated. Transient tables within the execution engine that populate values in these logs become too massive to scale any further, which causes the engine to lock while trying to process the data. This issue has been reported to the Appian Product Team, and the reference number for this issue is AN-146311.
Open a case with Appian Support and note to the case description that you are experiencing behavior in line with KB-XXXX.
This issue can be resolved by rebooting the environment. To avoid downtime in the environment, moving the above mentioned log files to a directory other than <APPIAN_HOME>/logs/perflogs and restarting the afflicted engine will resolve this issue. A single execution engine can be restarted with the following procedures, but if this fails or takes an extended amount of time, there are further steps listed on how to forcibly kill the engine:
<APPIAN_HOME>/services/bin
./stop.sh (.bat) -p <PASSWORD> -s executionXX
./start.sh (.bat) -p <PASSWORD> -s executionXX
If the afflicted engine needs to be forcibly killed, follow the procedures below to kill and restart the engine:
kill -9 <PID>
This article applies to Appian 18.3 and later.
Last Reviewed: December 2019