Author |
Message
|
vincent |
Posted: Mon May 08, 2006 9:37 am Post subject: OPPROCS & IPPROCS |
|
|
Voyager
Joined: 21 Apr 2006 Posts: 81
|
is IPPROCS opened the handle when messages are put in?
is OPPROCS opened the handle when messagers are retrieve?
If it is reversed, what would be the problem either in MQ or its Application?
-Vincent |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 08, 2006 9:44 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
vincent |
Posted: Tue May 09, 2006 11:10 am Post subject: |
|
|
Voyager
Joined: 21 Apr 2006 Posts: 81
|
Thanks!,
while I am reading messages from Q, i am seing both the IPPROC and OPPROC is incremented.
But this is not the case when i am adding message. When i add IPPROC becomes zero and OPPROC is 1
In case of reading, IPPROC is 1 and OPPROC is also 1. Is there any problem in the code or is that how MQ works?
-vincent |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 09, 2006 11:17 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MQ works the way the documentation says that it does.
Are you seeing something that is working differently than you think the documentation says it should work?
Have you checked the documentation to see what it says? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vincent |
Posted: Tue May 09, 2006 11:24 am Post subject: |
|
|
Voyager
Joined: 21 Apr 2006 Posts: 81
|
I could not get the exact information for this number of process. Can you please give me the exact link
-vincent |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 09, 2006 11:28 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
IPProcs is incremented every time any application issues a successful MQOpen on the queue, and specifies an MQOO_INPUT_* option. When that same queue handle is MQCLOSED, then the count is decremented.
OPProcs is incremented every time any application issues a successful MQOpen on the queue and specifies an MQOO_OUTPUT. When that same handle is MQCLOSED, then the count is decremented.
There is no relationship between IPPRocs/OPProcs and a) the number of messages that are put or got, b) the number of applications that are connected to the queue, c) whether an application is actively putting or getting messages.
If you can't figure out how to put "IPPROCS" into the Search field of the MQ Info Center, then you need to stop doing anything with MQ, and figure out how to read and use the MQ Info Center first. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vincent |
Posted: Tue May 09, 2006 11:34 am Post subject: |
|
|
Voyager
Joined: 21 Apr 2006 Posts: 81
|
i did not mean messages and meant only application. Sorry for the misleading sentences. Thanks |
|
Back to top |
|
 |
|