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 » IBM MQ Installation/Configuration Support » [Solved] Max number of Active Channels

Post new topic  Reply to topic
 [Solved] Max number of Active Channels « View previous topic :: View next topic » 
Author Message
abhijitghosh_79
PostPosted: Wed Mar 19, 2003 4:16 am    Post subject: [Solved] Max number of Active Channels Reply with quote

Newbie

Joined: 30 Dec 2002
Posts: 6

Can anybody tell me how to change the entry for max number of channels in the Windows 2000 registry .The default value on windows is 8 i suppose .I have got only 3 active channels ,but i frequently get the problem to failure of channels ,due to the number of active channels reaching max number,
Thanks in advance
Abhijit
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
leongor
PostPosted: Wed Mar 19, 2003 7:45 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

You can do it from MQSeries Services, queue manager properties, channels tab.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
tillywern
PostPosted: Thu Mar 20, 2003 3:15 pm    Post subject: Aditionally Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

There are some channel settings that han help reduce the number of channels that are no longer being used. Try lowering your disconnect interval... You can also try tinkering with the hearbeat intervals if the channel has sporatic traffic.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
tillywern
PostPosted: Thu Mar 20, 2003 3:32 pm    Post subject: channel cleanup KSH Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

I have this snippet of an old KSH that looks for old receiver channel processes that are no longer in use and kill them. Sorry to make you wade through it.

# $1 - time type d=days h=hours m=min
# $2 - ammount of time
if [[ $1 = "-d" ]]; then
for pid in `ps -eo pid,comm |grep amqcrsta|sed -e"s/ .*$//"`;do
age=`ps -eo etime,pid |grep $pid|cut -b1-2`;
# echo "$pid $age"
if [[ $age -gt $2 ]]; then
echo "kill -9 $pid";
fi
done
elif [[ $1 = "-h" ]]; then
for pid in `ps -eo pid,comm |grep amqcrsta|sed -e"s/ .*$//"`;do
dage=`ps -eo etime,pid |grep $pid|cut -b1-2`;
if [[ $dage = " " ]]; then dage=0; fi
hage=`ps -eo etime,pid |grep $pid|cut -b4-5`;
i# echo "$pid $dage $hage"
if [[ $dage -gt 0 || $hage -gt $2 ]]; then
echo "kill -9 $pid";
fi
done
elif [[ $1 = "-m" ]]; then
for pid in `ps -eo pid,comm |grep amqcrsta|sed -e"s/ .*$//"`;do
dage=`ps -eo etime,pid |grep $pid|cut -b1-2`;
if [[ $dage = " " ]]; then dage=0; fi
hage=`ps -eo etime,pid |grep $pid|cut -b4-5`;
if [[ $hage = " " ]]; then hage=0; fi
mage=`ps -eo etime,pid |grep $pid|cut -b7-8`;
# echo "$pid $dage $hage $mage"
if [[ $dage -gt 0 || $hage -gt 0 || $mage -gt $2 ]]; then
echo "kill -9 $pid";
fi
done
else
echo "Incorrect arguements"
exit
fi
#ps -eo pid,etime,comm |grep amqcrsta|sed -e's/ +[1234567890]/ /g'
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » [Solved] Max number of Active Channels
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.