|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[Solved] Max number of Active Channels |
« View previous topic :: View next topic » |
Author |
Message
|
abhijitghosh_79 |
Posted: Wed Mar 19, 2003 4:16 am Post subject: [Solved] Max number of Active Channels |
|
|
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 |
|
 |
leongor |
Posted: Wed Mar 19, 2003 7:45 am Post subject: |
|
|
 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 |
|
 |
tillywern |
Posted: Thu Mar 20, 2003 3:15 pm Post subject: Aditionally |
|
|
 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 |
|
 |
tillywern |
Posted: Thu Mar 20, 2003 3:32 pm Post subject: channel cleanup KSH |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|