Description of the error message "accept () failed: Too many open files"?

Description of the error message "accept () failed: Too many open files"?

book

Article ID: KB0088330

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
Description:
=========
The file descriptor (FD) limit is an operating system (OS) limit.  In general, file descriptors are consumed not only by RV applications but also by other applications which opens files/sockets on the host machine.

The error message indicates the FD’s limit set by the OS has been exceeded. The error will be seen when attempting to establish a new connection to TIBCO Rendezvous (RV) daemon - RVD.

There are two parameters you can check: one is file descriptor per user and the other is system wide. Uou can check the system wide limit for FD using the OS command “ulimit –a”.

Both the RVD and client applications use file descriptors.  New fiule descriptors are used each time a transport is created to connect to the daemon.  You need to ensure that the maximum number of file descriptors for the users starting the RVD and/or the application is large enough. For each transport you will need one FD on the server side and one FD on the client side (if RV client applications and RVD process are running on the same host you will be using 2 FD for each transport).

There is no optimum value when setting the FD limit.  It all depends on the RV client application(s) needs. The number of client connections can be checked using the RVD http interface to find how many clients are connected to RVD and thus the FD’s the RVD is using.

You may need to consult your system administrator to increase the OS limit for file descriptor.


Environment:
===========
All

Issue/Introduction

Description of the error message "accept () failed: Too many open files"?