tibemsd64 reports 'ERROR: Accept() failed: too many open files' on Redhat 8.

tibemsd64 reports 'ERROR: Accept() failed: too many open files' on Redhat 8.

book

Article ID: KB0071280

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service All

Description

It seems like you are facing an issue with the tibemsd process hitting the upper limit of files it's allowed to open. To address this problem, you can follow the steps outlined below:

  1. First, find the user account and PID of the tibemsd64 process:
ps -efl | grep tibemsd
  1. Check the file descriptor limit of the tibemsd process using the PID obtained from the previous step:
more /proc/<pid>/limits
  1. Verify that the user account of the tibemsd64 process has the correct configuration in /etc/security/limits.conf. It should have the following entries:

 
<account> soft nofile 65535
<account> hard nofile 65535

Replace <account> with the actual user account of the tibemsd64 process.
 

  1. Get the file descriptor limit of the current tibemsd64 process by running:
more /proc/<pid>/limits
  1. Edit the /etc/pam.d/login file and add the following line:
session required /lib/security/pam_limits.so
  1. Use the system file limit to increase the file descriptor limit to 65535:
echo 65535 > /proc/sys/fs/file-max
  1. Restart the tibemsd64 process from the command line. You should notice that the "Max open files" is now expected.

  2. If you encounter the same issue after restarting the service, continue to step 9.

  3. Configure DefaultLimitNOFILE in /etc/systemd/system.conf.d: Add the following line to the configuration file:

DefaultLimitNOFILE=65535
  1. Restart the service and verify if the "Max open files" is now as expected.

Following these steps should help you resolve the issue with tibemsd reaching the upper limit of files it can open. If the problem persists, consider opening a TIBCO support ticket for further assistance.


 

Issue/Introduction

tibemsd64 reports 'ERROR: Accept() failed: too many open files' on Redhat 8.