Author |
Message
|
ktg |
Posted: Mon Apr 21, 2008 9:34 pm Post subject: How to make command server busy? |
|
|
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 |
|
 |
Gaya3 |
Posted: Mon Apr 21, 2008 9:48 pm Post subject: Re: How to make command server busy? |
|
|
 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 |
|
 |
ktg |
Posted: Mon Apr 21, 2008 10:01 pm Post subject: |
|
|
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 |
|
 |
Gaya3 |
Posted: Mon Apr 21, 2008 10:17 pm Post subject: |
|
|
 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 |
|
 |
AkankshA |
Posted: Mon Apr 21, 2008 10:28 pm Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Apr 22, 2008 12:23 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Tue Apr 22, 2008 9:30 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
I'm curious abou this solution... _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Apr 22, 2008 10:32 am Post subject: |
|
|
 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 |
|
 |
ktg |
Posted: Fri Apr 25, 2008 2:06 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Apr 25, 2008 2:30 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Fri Apr 25, 2008 5:41 am Post subject: |
|
|
 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 |
|
 |
ktg |
Posted: Mon Apr 28, 2008 1:01 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Apr 28, 2008 1:03 am Post subject: |
|
|
 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 |
|
 |
|