On HPUX 11 box, I noticed a lot of following errors on my ems log:ERROR: Accept() failed: too many open files. Please check per-process and system-wide limits on the number of open filesWhat can I do to get rid of this?
book
Article ID: KB0086318
calendar_today
Updated On:
Products
Versions
TIBCO Enterprise Message Service
-
Not Applicable
-
Description
Resolution: The message "too many open files." indicates:
You may be running out of file descriptors.
TIBCO Enterprise for EMS, uses file descriptors when a file is open and when sockets are created. Therefore, the number of file descriptors used by the EMS Server will increase with the number of client applications connected to the EMS Server.
The tibemsadmin tool command "info" will give you the number of connections opened. Each connection consumes a file descriptor.
A. If the number of connections is not hign, then the limit of the file descriptor could be set too low.
1. Check “ulimit –a” to see if the file descriptor limit is too low, if this is the case, increase the value. 2. Run kmtune to verify if maxfiles_lim and maxfiles value is too low, if this is the case, increase the value.
B. If the number of connections if very high, then run tibemsadmin tool command “show connections full” to see which clients created those connections, any potential connection leakage and decide if you need to take a look at the application.
Issue/Introduction
On HPUX 11 box, I noticed a lot of following errors on my ems log:ERROR: Accept() failed: too many open files. Please check per-process and system-wide limits on the number of open filesWhat can I do to get rid of this?