Skip to content

Handles opened by the application #179

@AlexAlvesJr

Description

@AlexAlvesJr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions