KB-1942 Checkpoint and status.sh fail with "java.lang.OutOfMemoryError: unable to create new native thread" error

Symptoms

When checkpointing engines or running the status.sh script on Linux, the following error occurs in the standard output and in service_manager.log:

java.lang.OutOfMemoryError: unable to create new native thread. 

Cause

This indicates that ulimit -u for the Appian user is set lower than the total number of threads required by the user. ulimit -u refers to the max user processes on the OS.

Action

To allow the Appian user to create additional threads for these processes, set ulimit -u to unlimited.

Affected Versions

This article applies to all versions of Appian using Linux as the operating system.

Last Reviewed: May 2019

Related
Recommended