Kbase P55446: Having problems receiving messages from a topic intermittently
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/02/2005 |
|
Status: Unverified
FACT(s) (Environment):
SonicMQ
SYMPTOM(s):
Having problems receiving messages from a topic intermittently
Customer is seeing a exception when publishing a number of messages of about 400k each with disconnected durable subs.
CAUSE:
GUAR_QUEUE_SIZE and OUTPUT_QUEUE_SIZE set too low to hold list of messages sent or waiting to be sent.
FIX:
Raise buffers for GUAR_QUEUE_SIZE and OUTPUT_QUEUE_SIZE. It may be necessary to raise these substantially (e.g. 10 times the default).
* GUAR_QUEUE_SIZE is the buffer that holds the list of messages that have been sent to a consumer but haven't been acknowledged. If a client is receiving a lot of messages without acknowledging them and this queue fills up then the publishing client will receive the flowcontrol exception. If your subscribers are disconnected then this would not seem to be relevant. Also, depending on how the 4gl MQ client performs acks this may not be relevant.
* OUTPUT_QUEUE_SIZE is the buffer that holds the list of messages that are waiting to be sent to a connected subscriber. This will fill up if a subscriber is consuming slower than a publisher is publishing messages at which point flowcontrol kicks in. If flowcontrol is disabled then the publishing client will get an exception that the broker isn't accepting anymore messages. That should be handled by the client.