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 » WebSphere Message Broker (ACE) Support » mqsireload command

Post new topic  Reply to topic
 mqsireload command « View previous topic :: View next topic » 
Author Message
vcsb
PostPosted: Sun Oct 16, 2011 4:03 am    Post subject: mqsireload command Reply with quote

Newbie

Joined: 16 Oct 2011
Posts: 4

Hello All,
We have a 4GB RAM, RHEL box, on which we run MB which has one Broker and 5 execution groups running.

We've been noticing that CPU of our Linux box is reaching high levels since recent time.

After analysing, we found the culprit to be one EG which is taking more memory (analyzed via top command)

My questions now are as follows:

1. I notice from the top command that, the DataflowEngine (for that particular EG i mentioned above) is consuming lot of memory (almost 77%) and the state is shown as 'S' (Sleeping) and not 'R' (Running)

2. If I run mqsireload command for the above EG, does it solve this high CPU issue?

3. If I want to schedule mqsireload command for all EG's (suppose say), is it fine to run it every weekend, during the business off-hours (or less peak time)? Do any of you have any script (shell script) which handles such a requirement efficiently? Just wondering.

4. Is mqsireload command safe to run?

I very much appreciate your replies and clarifying my questions above. Thank you
Back to top
View user's profile Send private message
vcsb
PostPosted: Sun Oct 16, 2011 4:17 am    Post subject: Reply with quote

Newbie

Joined: 16 Oct 2011
Posts: 4

Forgot to add, the MB version is 6.1 (Just for your info)
Back to top
View user's profile Send private message
vcsb
PostPosted: Sun Oct 16, 2011 6:59 am    Post subject: top command output Reply with quote

Newbie

Joined: 16 Oct 2011
Posts: 4

top command output is shown below.
I tried mqsireload on the EG that is causing to use 3.5GB of memory out of 4.1GB of RAM available, but still the top command shows the memory used as 3.5GB as shown below.


top - 14:57:36 up 454 days, 36 min, 1 user, load average: 0.22, 0.29, 0.27
Tasks: 175 total, 1 running, 174 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.4% us, 0.3% sy, 0.0% ni, 98.2% id, 0.1% wa, 0.0% hi, 0.0% si
Mem: 4150316k total, 3499988k used, 650328k free, 17704k buffers
Swap: 8385880k total, 9588k used, 8376292k free, 2498268k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30674 wmbadmin 16 0 713m 117m 34m S 10.3 2.9 18:04.58 DataFlowEngine EIP1BK2P e048afbf-1601-0000-0080-e5c8c03fc94d EG_UK 1
17928 mqm 16 0 223m 25m 24m S 0.7 0.6 777:49.10 amqzmuc0 -m EIP1BK2P
17954 mqm 16 0 249m 31m 28m S 0.7 0.8 1004:26 amqzlaa0 -mEIP1BK2P -fip0
18213 mqm 16 0 36060 5956 3872 S 0.7 0.1 595:39.02 /opt/mqm/bin/amqrmppa -m EIP1BK2P
30932 mqm 16 0 232m 25m 24m S 0.3 0.6 876:01.40 amqzlaa0 -mEIP1BK2P -fip3957
30510 wmbadmin 16 0 357m 86m 33m S 0.3 2.1 0:23.98 DataFlowEngine EIP1BK2P 4636d76a-1c01-0000-0080-e3fd820b263a EG_MNPNQ 0
7866 vijay.pa 16 0 3016 932 688 R 0.3 0.0 0:00.03 top
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Oct 16, 2011 8:34 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Have you looked at this article for more help on using 'top'?

http://www.linuxforums.org/articles/using-top-more-efficiently_89.html

I take it that the 'top' output you posted was taken after you had done an mqsireload? From the 'virtual' & 'resident' memory columns, I see the values of 357m & 86m respectively.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
vcsb
PostPosted: Sun Oct 16, 2011 6:55 pm    Post subject: Reply with quote

Newbie

Joined: 16 Oct 2011
Posts: 4

Yes Sir, you are correct. The top output command I have taken is after I ran the mqsireload command.

The link you suggested was indeed very valuable and I thank you very much for sharing that piece with me. I will get myself educated on the subject further from here.

A thought that still bothers me is that even after I ran the mqsireload command, the Mem used is still at 3.5GB (out of a total avail of 4GB), which was the exact same Memory used before I ran the mqsireload command.

So, any suggestions on how to deal with this "high Memory used" issue?
Is there any suggestion that I can work it out to reduce the mem used, or do I only have a RAM upgrade option?


Your suggestions are valuable. Thank you Sir in advance
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Oct 16, 2011 9:08 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Look at the Cached figure

The Unix/Linux memory model is different to that used in Windows (pre V7). Now they are similar. The cached figure is just that. It can be reused by the DataFlowEngine if needed OR by anyone else. In the latter case, it will be freeded from the cache, zeroed and then allocated to another process.
If the DFE wants a page that is still in the cache then it will be mapped directly and very fast.

This is all from memory so I'm willing to be shot down in flames. I did know this stuff off pat some 30yrs ago when I worked on Ultrix.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsireload command
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.