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 » semaphore busy errors

Post new topic  Reply to topic Goto page Previous  1, 2
 semaphore busy errors « View previous topic :: View next topic » 
Author Message
matuwe
PostPosted: Wed Dec 17, 2008 10:07 pm    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Thanks a mill times, My server has been rebooted and now MQ is responding perfectly. Now I need to get to the root cause of the probem.

I have been reading this article
http://www.ibm.com/developerworks/websphere/library/techarticles/0801_cui/0801_cui.html

and it suggest that I change my /var/mqm/qmgrs/(<queue_manager_name>)/qm.ini and increase

MaxChannels=<channel_no>
MaxActiveChannels=<channel_no>

This values do not exist on my stanza and will it help if I increase LogBufferPages=0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 18, 2008 12:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20763
Location: LI,NY

To be specific the post referenced said:
Quote:
Input/output count too high

First check if there are any exceptions in the flow using the procedures described above. If system performance is okay, increase the maximum connection parameter of the queue manager: edit the file /var/mqm/qmgrs/(<queue_manager_name>)/qm.ini and modify the following lines to change <channel_no> to the desired number:

CHANNELS:
MaxChannels=<channel_no>
MaxActiveChannels=<channel_no>


From the probe Id and other things you posted, you have given us no hint that this would be the problem you are facing. So why do you think that this would solve it?

What is the output of
Code:
echo 'dis chs(*)' | runmqsc QMGR | grep CONNAME |cat -n |tail -5



_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
matuwe
PostPosted: Thu Dec 18, 2008 12:50 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Thanks for the response. I am not sure what my problem cause is, so I am looking at tuning MQ as all the posting suggest the problem could be log size.

I run the command and no output is showing. I followed the two listing

http://fixunix.com/websphere/211469-mq-version-6-aix-gets-many-xecl_w_long_lock_wait-fdcs-amqxmuc0.html --Same problem and
http://www.ibm.com/developerworks/websphere/library/techarticles/0712_dunn/0712_dunn.html

so all I did was to increase my primary log from 3 to 10 and LogBufferPages from 0 to 4096. And I also change the LogWriteIntegrity from Triple to SingleWrite


I hope this help me.
Back to top
View user's profile Send private message
matuwe
PostPosted: Thu Dec 18, 2008 1:02 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Sorry I ran the runmqc command and the display channel. this is my results

DISPLAY CHANNEL (*) CONNAME
6 : DISPLAY CHANNEL (*) CONNAME
AMQ8414: Display Channel details.
CHANNEL(HUB.ADMIN.SVRCONN) CHLTYPE(SVRCONN)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.AUTO.RECEIVER) CHLTYPE(RCVR)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.AUTO.SVRCONN) CHLTYPE(SVRCONN)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.BKR.CONFIG) CHLTYPE(SVRCONN)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.CLUSRCVR) CHLTYPE(CLUSRCVR)
CONNAME( )
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.CLUSSDR) CHLTYPE(CLUSSDR)
CONNAME( )
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.RECEIVER) CHLTYPE(RCVR)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.REQUESTER) CHLTYPE(RQSTR)
CONNAME( )
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.SENDER) CHLTYPE(SDR)
CONNAME( )
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.SERVER) CHLTYPE(SVR)
CONNAME( )
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.SVRCONN) CHLTYPE(SVRCONN)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.CLNTCONN) CHLTYPE(CLNTCONN)
CONNAME( )
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 18, 2008 1:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20763
Location: LI,NY

Ah but you did not run the command as I asked for it.
This is a list of the channels... I asked for a list of the channel STATUS....

Increasing the number of log files (primary and secondary) is a good start. Make sure you have the filespace for it. And remember this will only take effect after a qmgr restart.
Also you should take a hard look at your MQ and broker transaction management and the max size of a single transaction, max time of a single transaction, plan and add safety margins for concurrency...

Would not have switched the log from triplewrite to singlewrite. This is an OS reliability and HIGH throughput consideration. Does not look like you are hitting any of those.

Just because stuff exists does not mean that implementing it will fix your problem.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
matuwe
PostPosted: Thu Dec 18, 2008 1:56 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Ohhh I see. I just emplimented as the exaple suggested.. Thanks.

If I run the command as you send it, it doesn't return any results.

Would it help if I deployed my http input flow twice? I don't think I have perfomance problems but this semaphone... always make me cry.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 18, 2008 2:01 am    Post subject: Reply with quote

Grand High Poobah

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

matuwe wrote:
If I run the command as you send it, it doesn't return any results.


And what does this tell you......?

matuwe wrote:
Would it help if I deployed my http input flow twice?


Why not deploy it while holding a lucky rabbit's foot? Or with arcane symbols chalked on the back of the server to conjure the positive energies? All are unlikely to help but can't hurt. Well, might hurt your reputation.

(Don't deploy while sprinkling holy water on the server. That doesn't help. And does hurt if you don't jump back quickly enough.... )
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
matuwe
PostPosted: Thu Dec 18, 2008 2:14 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

ooowwwwccchhh!!! I get it. Will not try it. I am just trying to find solution and better ways to do load distribution.


Okay i guess it means I just need to wait and see if I donot get this problem again. Thanks for all you help. Much appreciated
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » semaphore busy errors
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.