Author |
Message
|
steinra |
Posted: Thu Jun 13, 2002 12:30 pm Post subject: AS/400 Get Message issue |
|
|
 Apprentice
Joined: 23 May 2002 Posts: 28 Location: USA
|
I have an interesting problem. I have communications between an AIX system and an AS/400. The AS/400 is acting as a server and the AIX system is a client. There are queue managers on each box and channels configured between them.
The request messages going to the AS/400 are set to expire in 30 seconds. I will get a report message if the message expires.
Here is the issue. For some reason when messages are going to the AS/400 they appear to go into queue and will end up expiring there. It is like the process is not servicing the queue for a while.
This is a spoaratic issue. It can not be predicted and the severity fluctuates as well.
An example that is really baffaling. Today I had 5 messages sent to the AS/400 each one about 5-6 seconds apart. The first four messages were responded to in less than a second. The fifth message was never replied to and expired on the queue. The AS/400 server program never saw the message.
I do get reports back from the queue manager on the AS/400 to the AIX queue manager indicating the message expired there.
I am really confused as to why the 400 can process hundreds of messages in sub second response times, then suddenly just stop processing messages off the queue for up to 2 minutes.
Any trouble shooting suggestions? I am not a AS/400 expert so I am not sure I have tried everything there.
Thanks!
Randy |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Jun 13, 2002 1:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Could you be suffering from a problem related to the BATCHINT and BATCHSZ parameters on the channel? If you are sending lots of messages, you might not see it. You might only see it during a slow spell when the BATCHSZ isn't reached and you time out on the 400 before the BATCHINT is reached. |
|
Back to top |
|
 |
steinra |
Posted: Thu Jun 13, 2002 2:17 pm Post subject: |
|
|
 Apprentice
Joined: 23 May 2002 Posts: 28 Location: USA
|
Hmmm. I will have to look at that. I had forgotten about that parameter.
Doesn't that apply to the MCA on the sending side? If it did not reach a batch size would the message expire on the sending transmit queue once a batch size was reached? I am not familiar with batching data on a channel.
I don't think this is is the problem because I can get answers back when there is a low spot in the trafic. We can have gaps where there is not any traffic for a few minutes. If I send a message during a gap it will get a reply. I will double check that setting though to make sure.
Thank you for the reply!
Randy |
|
Back to top |
|
 |
Bala |
Posted: Thu Jun 13, 2002 9:38 pm Post subject: |
|
|
Novice
Joined: 14 May 2002 Posts: 12 Location: Chennai, India
|
One way to over come this problem is to increase the priority of the messages so that even under traffic your meassage will be send first.
The reason for making the priority to maximum=9, is because of the expiry rate of the message as it is only for 30 seconds.
The other as it has been told before is the BATCHSIZ and BATCH Interval make the interval small so that when the time interval reaches the channel sends the messages even if the BATCHSIZ specified has not reached.
Bala. _________________ IBM Certified Specialist MQSeries. |
|
Back to top |
|
 |
steinra |
Posted: Fri Jun 14, 2002 1:51 pm Post subject: |
|
|
 Apprentice
Joined: 23 May 2002 Posts: 28 Location: USA
|
I am going to phrase back what I have read and understand from here.
Let's say BATCHSZ is set to 50 on the channel.
From what I understand if the transmit queue goes empty the batch should be committed. So if it was possible that a message was appearing at just the right frequency to keep the transmit queue in a non empty state, then it won't be until 50 messages have gone through that the batch would be committed.
Is that the correct interpretation of the way BATCHSZ works?
Thanks!
Randy |
|
Back to top |
|
 |
steinra |
Posted: Mon Jun 17, 2002 12:03 pm Post subject: |
|
|
 Apprentice
Joined: 23 May 2002 Posts: 28 Location: USA
|
OK, I tried setting my BATCHSIZ and BATCHINT to 3 and 3000 (msec) respectively.
I am still seeing the same timeout issue.
Did I get the settings correct?
Thanks!
Randy |
|
Back to top |
|
 |
|