-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello guys!
I saw that the exporter application connects to the QMGR and opens 5 handles by queue (subscribe to each metric like openclose, put, get, inqset, conndisc). As we have environments with hundreds of queues, we had a problem with de maxhands parameter of the qmgr, that needed to be strongly increased.
It may represent some problem, because we had to alter the maxhands to 2100 and it opens the possibility to other applications to work in a innapropriated behaviour, like a looping of handles in some queues.
Other problem is that as the number of queues grow, we need to increase de maxhands parameter too.
Do we have anyway to alter the application logic so it opens (for example) the limit of 250 handles per connection? In that way, we would never have to alter the maxhands of the qmgr.
Using this example, the application could establish a connection with the qmgr and starts to open the handles. If the number of handles reaches 250, the application establishes a new connection and starts to open new handles with this new connection, and so on.
Hope I made myself clear, guys :D
If I need to explain something else, just say so :)
Kind regards,
Alex