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 » Messages get lost if CHANNEL Speed is FAST and DEFPSIST(NO)

Post new topic  Reply to topic
 Messages get lost if CHANNEL Speed is FAST and DEFPSIST(NO) « View previous topic :: View next topic » 
Author Message
skoesters
PostPosted: Mon Aug 25, 2008 5:16 am    Post subject: Messages get lost if CHANNEL Speed is FAST and DEFPSIST(NO) Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

Hi,

i have a very simple configuration.

2 QMGR with 1 Local Queue, 1 transmission queue,1 local definition of remote queue and 1 Sender / Receiver Channel each.

i send a message from server 1 to server 2 via amqsput

Server 1:

start amqsput, send message, stop amqsput

Server 2:

start amqsget, receive message, stop amqsget.

i am able to receive the first message. After that i do the same again (server 1 start amqsput, send message, stop amqsput - server 2 start amqsget, receive message, stop amqsget). Then there is no message on Server 2.

If i wait 1-2 Minutes and do the same again i receive the first message and again not the second message (if i start amqsget, stop amqsget and start it again to receive the second message).

if i start amqsput, send a message, stop amqsput on Server 1 while amqsget is running on server 2 i am able to get every message.

If i now set Channel Speed from FAST to NORMAL none of the messages gets lost and i can stop and start amqsget as often as i want. I am able to see every message i send with amqsput. Also if i leave Channel Speed on FAST and set DEFPSIST = YES i am able to get every message.

There is nothing running in the background that could erase the message bevor i can receive it with amqsget. That i cant receive some messages only happens when the Channel is set to FAST and DEFPSIST(NO).

CHANNEL = FAST and DEFPSIST(YES): no Problem
CHANNEL = NORMAL and DEFPSIST(NO): no Problem
CHANNEL = NORMAL and DEFPSIST(YES): no Problem
CHANNEL = FAST and DEFPSIST(NO): Problem

I dont know why.

My Network is a switched 100Mbit Network with no erros on it and i use MQ7 on Linux.

regards
Sebastian
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 25, 2008 10:42 am    Post subject: Reply with quote

Grand High Poobah

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

skoesters wrote:
CHANNEL = FAST and DEFPSIST(NO): Problem

You should not treat this case as a problem but as a feature.
Basically MQ tells you that if you want extra fast messages and no persistence, you do not care whether the message gets lost because you have other means of knowing whether the transaction completed or because you do not care....

What can cause a hickup and lost message in this case? Any hickup in communications i.e. in the channel. The message is not persisted and if it cannot be delivered it will be lost. This is what you instruced MQ to do.

Working as designed
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
skoesters
PostPosted: Mon Aug 25, 2008 11:11 am    Post subject: Reply with quote

Acolyte

Joined: 08 Jun 2008
Posts: 73

okay. thank you!
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Aug 25, 2008 11:11 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

If the channel burped and tossed the message, I would think the QM error logs on either side would show a channel error. Not an error message saying the MQ message was tossed, but a message saying the channel dropped and reconnected.
_________________
Peter Potkay
Keep Calm and MQ On
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 » IBM MQ Installation/Configuration Support » Messages get lost if CHANNEL Speed is FAST and DEFPSIST(NO)
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.