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

Version 18.1 by michaely on 2014/10/27 17:12
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Information

The information in this document applies to iSymphony 3.0.

Problem

iSymphony crashes or becomes unstable, and a message similar to the following appears in iSymphonyServer.err.log:

Exception in thread "<threadname>" java.lang.OutOfMemoryError: unable to create new native thread

Temporary Workaround

As a temporary workaround, restarting the iSymphony server will typically allow you to continue using the panel. However, it is unlikely to solve any underlying issues that caused the error in the first place, so you will likely run into the same problem again at some point in the future. See Starting And Stopping The iSymphony Server for details on restarting iSymphony, and see below for information about troubleshooting the actual problem to ensure it doesn't happen again.

Solution

This error message indicates that iSymphony has tried to create a new thread, but was unable to do so due to the operating system running out of thread handles. We have made some improvements to thread handling after the public release of version 3.0.3 which typically resolve this issue. A development build (3.0.3b1577) including these changes can be found in our Downloads Archive, under the 'Development Builds' header. Please be sure to read the warnings under that section header when upgrading to a development build. 

 

Update: The development build of 3.0.3 still does not resolve all the issues that may cause the error. If you continue to experience the issue after upgrading to the 3.0.3 development build you can use the following workaround until a fix is released:

Information

The following workaround will disable recording and voicemail management in the panel.

  1. Backup the file /opt/isymphony3/server/conf/main.xml
  2. Open the file for editing and locate the following section

    <Agent enabled="true"/>
  3. Modify the entry to look like so:

    <Agent enabled="false"/>
  4. Save the file and restart iSymphony. Starting And Stopping The iSymphony Server

Related articles

Unknown macro: contentbylabel. Click on this message for details.