Here's my answer that I posted to your same question on StackOverflow.
RY> when we run the get or put operation to read MQ messages or write to MQ multiple times continuously, at some point get or put operation will fail with the below error
Interesting comment. My first thought is that you have some poor coding in your application.
(1) Is your application connecting and staying connected while it performs gets and puts throughout the day or days?
(2) Or is your application connecting, doing some gets and puts but then returning, or the thread ends but never disconnects from the queue manager?
Because it sounds like your application is doing #2. This would explain why your channel connection count keeps rising. It is bad coding practice to not disconnect from the queue manager when the application is done whatever it was doing. The MQ client library will NOT automatically perform the disconnection for your application.
Bottomline is that even if you increase the channel max connection limit from 100 to 300, your poorly coded application will eventually use all 300 connections and then have the same problem. Therefore, you need to fix the code and ensure it disconnects from the queue manager when done.
------------------------------
Roger Lacroix
CTO
Capitalware Inc.
London ON Canada
https://capitalware.com------------------------------