Posted: Fri Jan 09, 2004 1:29 pm Post subject: Large cluster - AIX - accumulation of amqcrsta processes
Newbie
Joined: 09 Jan 2004 Posts: 3
We have a cluster with 1000+ qmgrs all running on AIX (4.3.3 and 5.2) with MQ 5.3 and patched with CSD05. We have recently been having irregular and sporadic network disconnects between our main servers and our remote qmgrs. This causes our server hosting the cluster queues to have thousands of amqcrsta processes running which eventually runs the system out of memory. It seems like the old amqcrstas from the broken connection never exits so the amqcrsta processes accumulate. What can we do to prevent this? _________________ NV
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
Well you could look at the application and make sure that it issues a MQDISC, especially if it aborts for some reason.
You could also run a cleanup routine to kill off the old ones.
This will get a list of the process's
ps -ef | grep amqcrsta
This will give you a list of active channels
the JOBNAME attribute contains the PID(either first/last half of jobname)
there is CHSTADA(2004-01-12) and CHSTATI(09.57.05) for date/time info
you could script the killing of these process's with the information provided
echo dis chs(CHANNEL_NAME) all _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
BTW, IBM recommendation starting from v5.3 use runmqlsr(threaded) instead of amqcrsta(non threaded) listener.
There is a channel pool that handles a large number of channels. _________________ Regards.
Leonid.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum