Consultor Eletrônico



Kbase 19823: SonicMQ:
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/16/2008
Status: Verified

FACT(s) (Environment):

Sun Solaris SPARC
SonicMQ

SYMPTOM(s):

Problems running the SonicMQ broker.

Same issues seen when running the dbtool script to configure the Cloudscape database.

Error message "Too many open files" followed by a message suggesting there is not enough memory availabale.

CAUSE:

This error might occur because the file descriptor setting for your Solaris system is insufficient to perform the given operation, rather than because there is insufficient available memory. This is known to happen with the default file descriptor setting in effect when initializing the Cloudscape database with dbtool.  It can also happen when running the broker and using transacted Sessions since additional files are created when transactions are used.

FIX:

To prevent this error, increase the number of file descriptors to allow for more file and socket connections by adding the following to the /etc/system file:


set rlim_fd_cur=4096
set rlim_fd_max=4096

These settings will take effect when the system is rebooted.  They should be sufficient to allow SonicMQ processes to run, but consult your system administrator for additional recommendations.