The 32 bits version of TIBCO Enterprise Message Service (TIBCO EMS) Server may be unable to rotate the logfile or commit any configuration change on Solaris systems.

The 32 bits version of TIBCO Enterprise Message Service (TIBCO EMS) Server may be unable to rotate the logfile or commit any configuration change on Solaris systems.

book

Article ID: KB0087121

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Description:
Symptoms
========
From time to time, the TIBCO EMS Server may be unable to rotate the logfile or report errors when committing any configuration modifications. For instance, creating a user in the admin tool would produce an error message similar to:

ERROR: Failed to create file 'users.conf'

However, there is no read/write access or disk space issue. This happens when using the 32bits version of the TIBCO EMS Server (tibjmsd/tibemsd) and running on Solaris systems.


Impact
=====
Loss of Functionality


Workaround
=========
Use the 64bits version of the daemon (tibjmsd64/tibemsd64)


Cause
=====
Most likely, you are facing the OS limitation of stdio. No more than 255 files may be opened using fopen(),and only file descriptors 0 through 255 can be used in a stream. File descriptors (fd) are used when opening files but also when using sockets. The TIBCO EMS Server will consume one fd for each connected TIBCO EMS client. When the number of file descriptor used by the TIBCO EMS Server is greater than 255 (that is, a bit more than 250 TIBCO EMS clients connected), and an admin command is issued that would require the TIBCO EMS Server to open or create a configuration file (for instance, adding an user, or a queue, or deleting it, etc...) or when the TIBCO EMS Server attempts to rotate the log, the command would fail. The reason is that the next available file descriptor will be greater than 255.


Resolution
========
The solution to this problem is to use tibjmsd64/tibemsd64 (that is linked with 64bits libraries), which overcome the stdio limitation.
Symptoms:

Cause:

Issue/Introduction

The 32 bits version of TIBCO Enterprise Message Service (TIBCO EMS) Server may be unable to rotate the logfile or commit any configuration change on Solaris systems.