ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » restart channel, kill existing chl conns

Post new topic  Reply to topic
 restart channel, kill existing chl conns « View previous topic :: View next topic » 
Author Message
ae06425
PostPosted: Tue Jul 27, 2010 6:30 am    Post subject: restart channel, kill existing chl conns Reply with quote

Centurion

Joined: 02 Apr 2007
Posts: 100

Hi All
What is the best way to reset/kill all channel connections and restart channel... MQ 6.0.2.4 on Unix.

I've been trying following but taking quite some time and still I see available(running) connections,...
Thx

echo "stop chl(XXX.SVRCONN) mode(TERMINATE) status(INACTIVE)" |runmqsc QM1

echo "stop chl(XXX.SVRCONN) mode(FORCE) status(INACTIVE)" |runmqsc QM1
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jul 27, 2010 7:08 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Restarting the qmgr will do this.

Why do you want to kill all your channels?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
ae06425
PostPosted: Tue Jul 27, 2010 7:11 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2007
Posts: 100

do not wanna re-start queue manager since there are other chanels.
Just this spesific channel and all of their connections....Kill all channel connections and ahve them remake conns.

reason: they are making too many connections
( I do not know if there is a way from MQ side to limit number of their channel connections from spesific IP etc..
again this is in WMQ 6.0.2.4 in unix)

thx
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jul 27, 2010 7:38 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
What is the best way to reset/kill all channel connections

Sorry. I took you literally in your OP.

V7 allows you to configure max connection instances.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 27, 2010 7:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

If you can avoid using mode TERMINATE as it has some side effects on other channels. Mode FORCE should do it for you.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ae06425
PostPosted: Tue Jul 27, 2010 8:19 am    Post subject: Reply with quote

Centurion

Joined: 02 Apr 2007
Posts: 100

Tried that too...
taking some time and when I monitor number of running channel connections during stop process
the number of available chl conns for spesific channel sometimes going up...
is it because of new connections being established during stop channel process?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Jul 27, 2010 8:21 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
echo "stop chl(XXX.SVRCONN) mode(TERMINATE) status(INACTIVE)" |runmqsc QM1

echo "stop chl(XXX.SVRCONN) mode(FORCE) status(INACTIVE)" |runmqsc QM1

Shotgunning commands has likely driven the qmgr in to confused state.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Jul 27, 2010 11:08 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

What do you see when you check the status of the server conn channels ?
Do you got the facility to connect the unix qmgr remotely from mq explorer and check 'Application Connections', who are connecting, how many threads they got.. etc. ?

When I did face this kind of issue, my mq was v6.0.2.0 couple of years ago and that was the problem cause of POOLSCAVENGER. We moved to the version 6.1.0.0 and it was not happening again.

By the way as fjb_saper said, FORCE does the work most of the times.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » restart channel, kill existing chl conns
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.