[rabbitmq-discuss] [Ticket #16] messages get stuck when using rabbitmq on windows, but not on ...

John Apps johndapps at gmail.com
Sat Oct 16 15:29:17 BST 2010


This is a notification from the Help Desk.


Your ticket has been submitted.  Please reply to this email (keeping the subject intact) with any additional information or comments.

Help Desk: http://BIGPOOH:9675/portal/view-help-request/16
Ticket: # 16
Submitted: Oct 16, 2010 @ 04:29 pm
Summary: [rabbitmq-discuss] messages get stuck when using rabbitmq on windows, but not on ...
Status: open
Priority: Med

Description:
----------------------------------------------------------------------------------------------------
I'm experiencing a problem with messages getting "stalled" when serving
RabbitMQ with Windows XP.

The context is a distributed job processing system, wherein some message
payloads can be around 250-500 kB.  The clients connecting to the broker are
several programs written in Python using the txAMQP library and the AMQP 0-8
protocol.  (*)

We can submit one job in our system, which results in several small
messages, and four larger messages being routed through RabbitMQ with the
size ranges noted above, and this succeeds.  However, when we submit an
identical job, one message with a larger payload is successfully routed, but
the second one is not.  I can see that it successfully reaches the broker
but never reaches the intended destination, because I get this output:

C:\rabbitmq_server-1.7.1\sbin>rabbitmqctl list_connections send_oct
send_pend
Listing connections ...
594     0
1183650 0
236655  0
616     0
610     0
2492155 256809    <-- here is the stuck message
616     0
616     0
367     0


Configuration:
- rabbitmq 1.7.1 on Windows XP, installed from packages available at
rabbitmq.com
- (also exhibited problem with rabbitmq 1.6.0 on Windows XP)
- all clients running on Windows, OR some clients on Windows (required as
they call out to Windows executables) and some on OS X
- ***exhibits problems noted above***

Configuration:
- rabbitmq 1.7.0 on Mac OS X 10.6, installed via
http://github.com/mxcl/homebrew/blob/master/Library/Formula/rabbitmq.rb
- all clients running on Windows
- no problems exhibited; can run many jobs successfully

Configuration:
- rabbitmq 1.6.0 on Ubuntu 9.10, installed using official Ubuntu packages
- all clients running on Windows
- no problems exhibited; can run many jobs successfully


We would prefer to run RabbitMQ as a service on Windows, as we have more
combined experience with Windows administration, but if stumped we will
consider running RabbitMQ on a locked down Ubuntu VM.

If needed I can try to create and post a script that triggers this problem,
but I thought I'd post this first to see if anyone has experienced a similar
problem and can offer a potential solution, or other troubleshooting
techniques.


(*) These programs originally used py-amqplib, and experienced the same
problem, but were ported to txAMQP to see if that would fix the problem and
to also improve performance when the system is idle.  Unfortunately while
the system performance improved, the problem with RabbitMQ on Windows still
persists.


-- 
Matthew Scott
ElevenCraft Inc.
+1 360 389-2512
----------------------------------------------------------------------------------------------------
This is an automated message sent from your help desk.


More information about the rabbitmq-discuss mailing list