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 » How to make command server busy?

Post new topic  Reply to topic
 How to make command server busy? « View previous topic :: View next topic » 
Author Message
ktg
PostPosted: Mon Apr 21, 2008 9:34 pm    Post subject: How to make command server busy? Reply with quote

Centurion

Joined: 09 Jan 2006
Posts: 138
Location: India

Hi All,

To simulate a production issue, i need to get sloooooow response from command server. How to do this easily?
I am sending 100s of MQAI requests simultaneously but it is not helping much.

TIA,
Kalpana
Back to top
View user's profile Send private message AIM Address
Gaya3
PostPosted: Mon Apr 21, 2008 9:48 pm    Post subject: Re: How to make command server busy? Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

ktg wrote:
Hi All,

To simulate a production issue, i need to get sloooooow response from command server. How to do this easily?
I am sending 100s of MQAI requests simultaneously but it is not helping much.


What it actually means,

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
ktg
PostPosted: Mon Apr 21, 2008 10:01 pm    Post subject: Reply with quote

Centurion

Joined: 09 Jan 2006
Posts: 138
Location: India

In production system, when command server gets overloaded, it causes resource problem. We need to give a solution for that. We have a solution, but to make sure it solves the problem, i need to reproduce production environment. That is, need to overload command server. So that I will get slow response from command server and then our solution will handle the situation.
My question was, how can I make command server overloaded. So that I will get slow response from it.
Back to top
View user's profile Send private message AIM Address
Gaya3
PostPosted: Mon Apr 21, 2008 10:17 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

so you are looking for some stress testing on your queue manager level.

i am not sure, how it will replicate on your simulated environment, as it depends on your system configuration etc etc.

why the resource crunch is happening?
if its resource problem, check the kernel parameters are in sync.
Shared and semaphores are properly set.

how do you confirmed that the resource problem is due to over supply of messages?


Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
AkankshA
PostPosted: Mon Apr 21, 2008 10:28 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

ktg wrote:
In production system, when command server gets overloaded, it causes resource problem. We need to give a solution for that. We have a solution, but to make sure it solves the problem, i need to reproduce production environment. That is, need to overload command server. So that I will get slow response from command server and then our solution will handle the situation.
My question was, how can I make command server overloaded. So that I will get slow response from it.


wait a minute....

how do u know the its a comand server being overloaded problem....

just analyse what actually happens on production server which causes the resource crunch(as u said command server busy) and do the same thing on ur test server..

i mean look at your production box to find the way out.. after all its already making command server busy...

u hv d solution with urself.. just find it out
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Tue Apr 22, 2008 12:23 am    Post subject: Reply with quote

Grand High Poobah

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

ktg wrote:
In production system, when command server gets overloaded, it causes resource problem.


In your position I would be less worried about simulating a stressed command server and more about why a production command server is so busy!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Apr 22, 2008 9:30 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I'm curious abou this solution...
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Apr 22, 2008 10:32 am    Post subject: Reply with quote

Poobah

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

Quote:
To simulate a production issue...

What production issue?
_________________
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
ktg
PostPosted: Fri Apr 25, 2008 2:06 am    Post subject: Reply with quote

Centurion

Joined: 09 Jan 2006
Posts: 138
Location: India

Sorry for taking so long to reply.......got busy in reproducing the problem ......
Well, we knew that, at a perticular time, many many many client requests will come, and invokes an exit which was using MQAI.....which was causing command server to overload.
We reproduced the problem by running 100s of cient connection.
What i needed was an EASY solution

Thanks,
Kalpana
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Fri Apr 25, 2008 2:30 am    Post subject: Reply with quote

Grand High Poobah

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

ktg wrote:
many many many client requests will come, and invokes an exit which was using MQAI




Going I'm afraid, but I'm forced to ask why? What does this exit do? And what purpose (business or otherwise) does it serve?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Apr 25, 2008 5:41 am    Post subject: Reply with quote

Poobah

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

Quote:
causing command server to overload.

Not sure what this means. What symptoms are you seeing? How? Are you missing service level agreements?

Are 1-second transactions now taking 2-seconds? 1 minute?

What resource problem? How do you know this?
_________________
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
ktg
PostPosted: Mon Apr 28, 2008 1:01 am    Post subject: Reply with quote

Centurion

Joined: 09 Jan 2006
Posts: 138
Location: India

Quote:
What symptoms are you seeing? How? Are you missing service level agreements?

Are 1-second transactions now taking 2-seconds? 1 minute?

Yes.......it was taking more processing time

Quote:

What resource problem? How do you know this?

By monitoring CPU and memory utilization.
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Mon Apr 28, 2008 1:03 am    Post subject: Reply with quote

Grand High Poobah

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

ktg wrote:
Quote:
What symptoms are you seeing? How? Are you missing service level agreements?

Are 1-second transactions now taking 2-seconds? 1 minute?

Yes.......it was taking more processing time

Quote:

What resource problem? How do you know this?

By monitoring CPU and memory utilization.


I'm still interested in knowing why so many commands are being issued to the command server.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » How to make command server busy?
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.