<html> <P>Peter,</P> <P>If some of your client applications are actually MDB's running under WAS, their corresponding MDB Listeners tend to hit the queue manager almost every second to see if there's any messages on the queues they are interested in. Thus, you'd see plenty of activity. One way to check is to see if the BYTES transmitted is going up by large or small amounts... that may help indicate whether these are queries or if there's actually data being sent.</P> <P>Gary<BR> <BR> <BR> <BR> <B>On Wed Oct 12 17:43 , Paul Clarke <paulg_clarke-E4/***@public.gmane.org> sent:<BR>
<BR>
</P></B>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #f5f5f5 2px solid; MARGIN-RIGHT: 0px">Hi Peter,<BR>
<BR>
Yes, last message time on a SVRCONN is actually the last MQI call issued<BR>
from the client. As I said, with a trace it should be fairly obvious what<BR>
these MQI calls actually are, an MQGET with a small wait seems the most<BR>
likely.<BR>
<BR>
Anyway, glad you've found the culprit,<BR>
Cheers,<BR>
P.<BR>
<BR>
Paul G Clarke<BR>
WebSphere Messaging Clients<BR>
IBM Hursley<BR>
<BR>
<BR>
<BR>
MQSeries List <<A href="javascript:top.opencompose('***@LISTSERV.MEDUNIWIEN.AC.AT','','','')">MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org</A>> wrote on 12/10/2005<BR>
22:12:10:<BR> <BR> <FONT color=red>> Paul, I think I found it. One of the SVRCONN channels I have has 4</FONT><BR> <FONT color=red>> instances of it running. 3 of them are showing massive increase in</FONT><BR> <FONT color=red>> message counts between Channel Status refreshes. Since there are no</FONT><BR> <FONT color=red>> MQ messages going thru the q, I am going to guess that these</FONT><BR> <FONT color=red>> "messages" are simply MQ API calls back and forth on the MQI channel.</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> The support for that app is gone for the day, but tomorrow we will</FONT><BR> <FONT color=red>> ask them to shut down, and see what happens. If that is not it, I</FONT><BR> <FONT color=red>> will post again.</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> Thanks for the push in the right direction Paul. I was to quick to</FONT><BR> <FONT color=red>> assume it was a problem with amqrmppa.</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> -Peter</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> -----Original Message-----</FONT><BR> <FONT color=red>> From: MQSeries List [<A href="javascript:top.opencompose('<a href=" javascript:top.opencompose(?MQSERIES-0lvw86wZMd9k/***@public.gmane.orgN.AC.AT?,??,??,??)?>MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org</A>','','','')"><A href="javascript:top.opencompose('MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org','','','')">MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org</A></A>]</FONT><BR> <FONT color=red>> Sent: Wednesday, October 12, 2005 4:47 PM</FONT><BR> <FONT color=red>> To: <A href="javascript:top.opencompose('***@LISTSERV.MEDUNIWIEN.AC.AT','','','')">MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org</A></FONT><BR> <FONT color=red>> Subject: Re: amqrmppa chewing up CPU</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> Peter,</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> I don't understand why you say "Queue Statistics for 327 queues is</FONT><BR> <FONT color=red>> tedious". Can't you just do a RESET QSTATS(*) in MO71 and sort by</FONT><BR>
enqueue.?<BR> <FONT color=red>> If you have 417 SVRCONNs it seems most likely that one (or more) of your</FONT><BR> <FONT color=red>> clients is either doing some serious messaging or spinning like doing an</FONT><BR> <FONT color=red>> MQGET(NO WAIT). I would do a DIS CHS(*) and look at the number of bytes</FONT><BR> <FONT color=red>> sent/received and last message time etc to determine whether you have a</FONT><BR> <FONT color=red>> rogue client. You would be able to see the IP address etc, possibly issue</FONT><BR>
a<BR> <FONT color=red>> STOP CHANNEL(). If this were MQ V6 you could see the name of the</FONT><BR> <FONT color=red>> application as well.</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> I was suggesting you take a trace and look at yourself but you are, of</FONT><BR> <FONT color=red>> course, at liberty to send it to IBM. Send it to me if you like :-)</FONT><BR>
There<BR> <FONT color=red>> is a good chance the trace file would be fairly easy to read if the</FONT><BR> <FONT color=red>> activity is as high as you say. The trace will show which MQI calls are</FONT><BR> <FONT color=red>> being issued and with which options. However, we have not designed the</FONT><BR> <FONT color=red>> trace to be only used by IBM personnel - we don't try and hide anything.</FONT><BR> <FONT color=red>> For many problems any relatively technically savvy person should be able</FONT><BR>
to<BR> <FONT color=red>> understand what's going on.</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> Cheers,</FONT><BR> <FONT color=red>> P.</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> Paul G Clarke</FONT><BR> <FONT color=red>> WebSphere Messaging Clients</FONT><BR> <FONT color=red>> IBM Hursley</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> MQSeries List <<A href="javascript:top.opencompose('MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org','','','')">MQSERIES-0lvw86wZMd+bG4Fjr/***@public.gmane.orgIWIEN.AC.AT</A>> wrote on 12/10/2005</FONT><BR> <FONT color=red>> 20:59:08:</FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> > Paul, this is a client concentrator. I have 327 queues on it, and</FONT><BR> <FONT color=red>> > 417 Active channels, mostly SVRCONNs. There is only 1 XMITQ leaving</FONT><BR> <FONT color=red>> > this box, it is quiet.</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Most queues are empty when I look at them all in MO71, and the ones</FONT><BR> <FONT color=red>> > with depth are not open (exception / fail type queues).</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > But it is certainly possible one queue is open for input and output,</FONT><BR> <FONT color=red>> > and a client is spinning on a message so the depth shows zero. How</FONT><BR> <FONT color=red>> > would I find that? Queue Statistics for 327 queues is tedious.</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Should I trace and send to IBM?</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > -Peter</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > -----Original Message-----</FONT><BR> <FONT color=red>> > From: MQSeries List [<A href="javascript:top.opencompose('<a href=" javascript:top.opencompose(?MQSERIES-0lvw86wZMd8hNtF/***@public.gmane.orgNIWIEN.AC.AT?,??,??,??)?>MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org</A>','','','')"><A href="javascript:top.opencompose('MQSERIES-0lvw86wZMd9k/***@public.gmane.orgAT','','','')">MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org</A></A>]</FONT><BR> <FONT color=red>> > Sent: Wednesday, October 12, 2005 3:03 PM</FONT><BR> <FONT color=red>> > To: <A href="javascript:top.opencompose('MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org','','','')">MQSERIES-0lvw86wZMd9k/***@public.gmane.orgAT</A></FONT><BR> <FONT color=red>> > Subject: Re: amqrmppa chewing up CPU</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Peter,</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Before you start killing things why not take a brief trace and work out</FONT><BR> <FONT color=red>> > what it is doing. Is it possible it's really doing lots of stuff for</FONT><BR> <FONT color=red>> valid</FONT><BR> <FONT color=red>> > reasons ?. From a DIS CHS(*) command you can determine which channels</FONT><BR>
are<BR> <FONT color=red>> > running in this AMQRMPPA process. By looking at the channel status</FONT><BR>
output<BR> <FONT color=red>> > you can see whether one (or more) of them are sending a lot of</FONT><BR>
messages.<BR> <FONT color=red>> > You might also see it from looking at your transmission queues. RESET</FONT><BR> <FONT color=red>> > QSTATS(*) etc to see how many messages are being put/got in a time</FONT><BR> <FONT color=red>> > interval. You might then be able to narrow it down to which application</FONT><BR> <FONT color=red>> is</FONT><BR> <FONT color=red>> > using the transmission queue (or am I thinking V 6.0 here ?),</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > However, an AMQRMPPA will normally process up to 64 channels untill you</FONT><BR> <FONT color=red>> > have 100*64 channels running at which point each AMQRMPPA will get</FONT><BR>
loaded<BR> <FONT color=red>> > up to 100 channels. However, each AMQRMPPA may have many more than 64</FONT><BR> <FONT color=red>> > queues open right ?</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Cheers,</FONT><BR> <FONT color=red>> > P.</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Paul G Clarke</FONT><BR> <FONT color=red>> > WebSphere Messaging Clients</FONT><BR> <FONT color=red>> > IBM Hursley</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > MQSeries List <<A href="javascript:top.opencompose('MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org','','','')">***@LISTSERV.MEDUNIWIEN.AC.AT</A>> wrote on 12/10/2005</FONT><BR> <FONT color=red>> > 19:43:17:</FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > > Got 1 amqrmppa exe using 50 % CPU. MQ 5.3.0.8 on Windows 2000 SP4.</FONT><BR> <FONT color=red>> > > Got the PID, and using MO71 I did a wildcard Queue Usage command to</FONT><BR> <FONT color=red>> > > see which queues and channels were using this PID. A lot of them,</FONT><BR> <FONT color=red>> > > more than 64, which I find odd, since I thought amqrmppa would spawn</FONT><BR> <FONT color=red>> > > a max of 64 threads.</FONT><BR> <FONT color=red>> > > Anyway, any safe way of stopping this exe from using this CPU short</FONT><BR> <FONT color=red>> > > of bouncing the QM?</FONT><BR> <FONT color=red>> > ></FONT><BR> <FONT color=red>> > > Peter Potkay</FONT><BR> <FONT color=red>> > > ISD MQSeries Support Manager</FONT><BR> <FONT color=red>> > > The Hartford Financial Services</FONT><BR> <FONT color=red>> > > <A href="javascript:top.opencompose('Peter.Potkay-***@public.gmane.org','','','')">Peter.Potkay-***@public.gmane.org</A></FONT><BR> <FONT color=red>> > > x77906</FONT><BR> <FONT color=red>> > > IBM MQSeries Certified</FONT><BR> <FONT color=red>> > ></FONT><BR> <FONT color=red>> > ></FONT><BR> <FONT color=red>> > ></FONT><BR> <FONT color=red>> *************************************************************************</FONT><BR> <FONT color=red>> > > This communication, including attachments, is</FONT><BR> <FONT color=red>> > > for the exclusive use of addressee and may contain proprietary,</FONT><BR> <FONT color=red>> > > confidential and/or privileged information. If you are not the</FONT><BR>
intended<BR> <FONT color=red>> > > recipient, any use, copying, disclosure, dissemination or</FONT><BR>
distribution<BR> <FONT color=red>> is</FONT><BR> <FONT color=red>> > > strictly prohibited. If you are not the intended recipient, please</FONT><BR> <FONT color=red>> notify</FONT><BR> <FONT color=red>> > > the sender immediately by return e-mail, delete this communication</FONT><BR>
and<BR> <FONT color=red>> > > destroy all copies.</FONT><BR> <FONT color=red>> > ></FONT><BR> <FONT color=red>> *************************************************************************</FONT><BR> <FONT color=red>> > > Instructions for managing your mailing list subscription are</FONT><BR> <FONT color=red>> > > provided in the Listserv General Users Guide available at</FONT><BR> <FONT color=red>> > <A href="parse.pl?redirect=http%3A%2F%2Fwww.lsoft.com" target=_blank><FONT color=red>http://www.lsoft.com</FONT></A></FONT><BR> <FONT color=red>> > ></FONT><BR> <FONT color=red>> > > Archive: <A href="parse.pl?redirect=http%3A%2F%2Flistserv.meduniwien.ac.at%2Farchives%2Fmqser-l.html" target=_blank><FONT color=red>http://listserv.meduniwien.ac.at/archives/mqser-l.html</FONT></A></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Instructions for managing your mailing list subscription are provided</FONT><BR>
in<BR> <FONT color=red>> > the Listserv General Users Guide available at <A href="parse.pl?redirect=http%3A%2F%2Fwww.lsoft.com" target=_blank><FONT color=red>http://www.lsoft.com</FONT></A></FONT><BR> <FONT color=red>> > Archive: <A href="parse.pl?redirect=http%3A%2F%2Flistserv.meduniwien.ac.at%2Farchives%2Fmqser-l.html" target=_blank><FONT color=red>http://listserv.meduniwien.ac.at/archives/mqser-l.html</FONT></A></FONT><BR> <FONT color=red>> ></FONT><BR> <FONT color=red>> > Instructions for managing your mailing list subscription are provided</FONT><BR>
in<BR> <FONT color=red>> > the Listserv General Users Guide available at <A href="parse.pl?redirect=http%3A%2F%2Fwww.lsoft.com" target=_blank><FONT color=red>http://www.lsoft.com</FONT></A></FONT><BR> <FONT color=red>> > Archive: <A href="parse.pl?redirect=http%3A%2F%2Flistserv.meduniwien.ac.at%2Farchives%2Fmqser-l.html" target=_blank><FONT color=red>http://listserv.meduniwien.ac.at/archives/mqser-l.html</FONT></A></FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> Instructions for managing your mailing list subscription are provided in</FONT><BR> <FONT color=red>> the Listserv General Users Guide available at <A href="parse.pl?redirect=http%3A%2F%2Fwww.lsoft.com" target=_blank><FONT color=red>http://www.lsoft.com</FONT></A></FONT><BR> <FONT color=red>> Archive: <A href="parse.pl?redirect=http%3A%2F%2Flistserv.meduniwien.ac.at%2Farchives%2Fmqser-l.html" target=_blank><FONT color=red>http://listserv.meduniwien.ac.at/archives/mqser-l.html</FONT></A></FONT><BR> <FONT color=red>></FONT><BR> <FONT color=red>> Instructions for managing your mailing list subscription are provided in</FONT><BR> <FONT color=red>> the Listserv General Users Guide available at <A href="parse.pl?redirect=http%3A%2F%2Fwww.lsoft.com" target=_blank><FONT color=red>http://www.lsoft.com</FONT></A></FONT><BR> <FONT color=red>> Archive: <A href="parse.pl?redirect=http%3A%2F%2Flistserv.meduniwien.ac.at%2Farchives%2Fmqser-l.html" target=_blank><FONT color=red>http://listserv.meduniwien.ac.at/archives/mqser-l.html</FONT></A></FONT><BR>
<BR>
Instructions for managing your mailing list subscription are provided in<BR>
the Listserv General Users Guide available at <A href="parse.pl?redirect=http%3A%2F%2Fwww.lsoft.com" target=_blank><FONT color=red>http://www.lsoft.com</FONT></A><BR>
Archive: <A href="parse.pl?redirect=http%3A%2F%2Flistserv.meduniwien.ac.at%2Farchives%2Fmqser-l.html" target=_blank><FONT color=red>http://listserv.meduniwien.ac.at/archives/mqser-l.html</FONT></A><BR>
</BLOCKQUOTE>
</html><BR>