Maximum number of connection opened using mq_open()

Hi,

 Is there any limitation in the number of connections opened to a single queue. I am having 32 threads, each opening a connection to a single queue and sending message to it continuously. Is it a good design or do i need to limit the number of parallel sending to the single queue.

Regards,
hello

There is nothing wrong with what you are doing UNLESS the process/thread that reads the messages from the queue can’t keep up with the 32 threads that are filling it. Then you have a problem.

Tim