In our configuration there is one channel to which has all our test environments are connected to and i can see around 48000 + connections established when i run below command. The CPU utilization is too high.
echo "display conn(*) where (channel eq <Channel_Name>)" | runmqsc QM_Name | wc -l
Now ,there are some connections which I am trying to kill using stop conn command but seems they getting re-created everytime. Also, looks like developers have used autoreconnect option in the code which is not allowing me to kill the connections.
>pr<property name="clientReconnectOptions"><util:constant static-field="com.ibm.msg.client.wmq.WMQConstants.WMQ_CLIENT_RECONNECT"/> /property>
I do not want to make channel itself down, I have below queries
1. What would be the best approach to reduce these connections if they no longer needed ?
2. What if auto reconnection is disabled?Is it recommended? How to do that in application?
Please suggest as my MQ server's CPU is getting too high may be because of this.