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 » "dspmq" command hang

Post new topic  Reply to topic
 "dspmq" command hang « View previous topic :: View next topic » 
Author Message
subani01491
PostPosted: Wed Mar 19, 2014 12:44 pm    Post subject: "dspmq" command hang Reply with quote

Novice

Joined: 19 Mar 2014
Posts: 12

MQ Gurus,

Anyone encountered with the situation where "dspmq" commands hang and does not give any output at all ?

i can see queue managers list on "mqs.ini" file. I can run other command with no issue only having problem with this command.

running MQ V 7.1.0.2 on RHEL 5.9.

Appreciate your

Thanks.
Back to top
View user's profile Send private message
tczielke
PostPosted: Wed Mar 19, 2014 5:49 pm    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 941
Location: Illinois, USA

We had that happen on Solaris 10. For our situation, it looked like it had to do with the NFS v3 file locking client on the Solaris 10 non-global zone hanging a file lock system call that dspmq was making.

The IBM MQ support has tools to help debug issues like this, if it is persistent and you can receate it.

One thing we did was use an strace command (or truss on Solaris) to see why the dspmq command was hanging. Here would be an example. strace writes its records to standard error (file descriptor 2).

strace -f dspmq qmgr 2>file.out

Tim Zielke
CICS/MQ Systems Programmer
Aon
Back to top
View user's profile Send private message
pavan anugoju
PostPosted: Thu Mar 20, 2014 4:51 am    Post subject: Reply with quote

Newbie

Joined: 10 Sep 2012
Posts: 2

Please check dspmq mq command is listed in "opt/mqm/bin "

this path is for both LINUX & Solaris..


Last edited by pavan anugoju on Thu Mar 20, 2014 7:45 am; edited 2 times in total
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 20, 2014 5:46 am    Post subject: Reply with quote

Poobah

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

pavan anugoju wrote:
Please check dspmq mq command is listed in "opt/mqm/bin "

this path is for both LINUX & Solaris..

Check for what? Then do what?
_________________
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
pavan anugoju
PostPosted: Thu Mar 20, 2014 7:58 am    Post subject: Reply with quote

Newbie

Joined: 10 Sep 2012
Posts: 2

1)In that path all commands will list .....
there may be chance that "dspmq" missed ..this will be one case.

2)other case is like ....server may be in hand or slow due to high cpu utilization ..
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 20, 2014 8:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pavan anugoju wrote:
1)In that path all commands will list .....
there may be chance that "dspmq" missed ..this will be one case.


If the command was missing, you'd get an unknown command. The fact that the command runs but doesn't produce any output indicates it's been found.

pavan anugoju wrote:
2)other case is like ....server may be in hand or slow due to high cpu utilization ..


And if this is the case, why are the other commands running without a problem?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
subani01491
PostPosted: Thu Mar 20, 2014 9:22 am    Post subject: Reply with quote

Novice

Joined: 19 Mar 2014
Posts: 12

Thank you tczieke, strace commad is not giving me any clue.

Thank you Pavan for your input, but that's not the case. I have checked the option you referring to but all looks good.

bruce2359 and Vitor, you guys are the expert. Any suggestion ?

Thank you.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 20, 2014 9:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

subani01491 wrote:
bruce2359 and Vitor, you guys are the expert. Any suggestion ?


If other commands are working & you're getting nothing from the OS level, I'd review the mqs.ini. You say you can view it; check for file handles and other things preventing file access.

Also check the OS is configured according to recommendations, and you've set the kernal to have enough resources.

Finally, and just to dot the i, when you say

subani01491 wrote:
I can run other command with no issue only having problem with this command


you do mean that you can run other WMQ commands (rather than OS commands) without issue?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
subani01491
PostPosted: Thu Mar 20, 2014 10:29 am    Post subject: Reply with quote

Novice

Joined: 19 Mar 2014
Posts: 12

Thank you Vitor for your suggestion. I ran "mqconfig -v 7.1" command to check the kernel and fs setting, all looks good.

Yes, i can run other WMQ command without any issue.

Thanks.
Back to top
View user's profile Send private message
Tibor
PostPosted: Fri Mar 21, 2014 4:19 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Have you already checked the common and queue manager related AMQERR01.LOG files? (in /var/mqm/errors/ and /var/mqm/qmgrs/<QMNAME>/errors/)

Perhaps any new FDC file?
Code:
cd /var/mqm/errors/
ffstsummary
Back to top
View user's profile Send private message
subani01491
PostPosted: Fri Mar 21, 2014 5:38 am    Post subject: Reply with quote

Novice

Joined: 19 Mar 2014
Posts: 12

Thank you everyone.

I left with no choice ( it not good practice), i need to reboot the server which resolve the issue. it looks like issue is related with OS.
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 » General IBM MQ Support » "dspmq" command hang
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.