MQ2009 introduce

use MQ command :mqrc 2009
2009 0x000007d9 MQRC_CONNECTION_BROKEN express MQ Disconnection , The official reason is that the network is disconnected .
MQ2009 Causes

*
Network disconnection
Make sure the network is in good condition

*
MQ Server connection timeout
MQ The server and client program will send heartbeat notification regularly ( default 5 second ), If MQ The server cannot receive heartbeat notification in time , You will be disconnected from the client program , It can also lead to MQ2009 error .

see mq Error log path :
/var/mqm/qmgrs/ Queue manager name /errors
AMQ9513: Maximum number of channels reached .

resolvent :

modify MQ Number of channels /var/mqm/qmgrs/ Queue manager name /qm.ini

enlarge MQ The maximum number of connection channels and the maximum number of active connection channels

(1) stop it MQ Queue manager
endmqm -i Queue manager name
(2) modify MQ Queue manager
vi /var/mqm/qmgrs/ Queue manager name /qm.ini Save after modifying the following CHANNELS: MaxChannels=2000
MaxActiveChannels=2000
(3) start-up MQ Queue manager ( Bring the amendment into effect )
strmqm Queue manager name

Technology
©2020 ioDraw All rights reserved
Vue The difference between single page and multi page 0.96OLED display -4 Line SPI explain R In language Axis() Detailed explanation of function parameters JAVA Snake games ( Source code + notes )C++ vector Simulation Implementation of class javascript Adding and deleting form information CCF A series of questions --2016 year 4 Month 1 Calculation of break point postman Interface test get timestamp and MD5 encryption 【 Recommended benefits 】c++ use easyx Making pixel birds , Simple hands on games TCP/IP There are so many loopholes in the agreement ?