Start a conversation

Fixing XMPP and KThreadPool.cpp Errors

Overview

The Chat issues may produce errors in the log such as StdErrChannel.cpp: Instant Messaging [external]: xception in thread; java.lang.OutOfMemoryError: unable to create new native thread; KThreadPool.cpp: Cannot create new worker thread: (11) Resource temporarily unavailable
folder_manager.cpp: Cannot start folder cache thread. System status: (11) Resource temporarily unavailable; HealthMonitor.cpp: Problem has occurred in the 'XMPP Server' component. 5 failures have been found. Component is paused for another 5 minutes.

In such cases, the Chat feature should be reset from the server-side.

 


Resolution

If the Chat feature is not used regularly:

  1. Stop Kerio Connect.

  2. Navigate to the Kerio Connect Installation Folder and edit the file mailserver.cfg:

    OS Path
    Mac OSX /usr/local/kerio/mailserver/
    Linux /opt/kerio/mailserver/
    Windows C:\Program Files\Kerio\MailServer\
  3. In mailserver.cfg, set the following:

    <table name="InstantMessaging">
    <variable name="Enabled">0</variable>
    </table>
    <table name="service-xmpp">
    <variable name="AutoStart">0</variable>
    </table>
    <table name="service-xmpps">
    <variable name="AutoStart">0</variable>
    </table>
  4. Start Kerio Connect

If the Chat feature is needed on a regular basis:

Follow the instructions from Resolving XMPP Server Errors in Kerio Connect

 


Additional Information

 

It's recommended to enable the chat feature using a configuration file and not from Webadmin directly.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments