Consultor Eletrônico



Kbase 41918: Error on SonicMQ broker: Too many open files
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Solution ID: P11918

FACT(s) (Environment):

SonicMQ 4.x
Solaris SPARC 8

SYMPTOM(s):

The problem the broker got was "too many open files" because it ran out of (allowed) number of file descriptors.

Especially in reconnection situations the connections are not closed directly when the reference is set to null

A blocking Connection.Close() leads to a deadlock condition

CAUSE:

Reconnecting in case of flow control exception caused an excessive amount of file descriptors.

FIX:

Don't disconnect/reconnect in case of flow control exceptions. Simply keep the connection open in case of a full queue and try to re-send.