Consumers newer than messages don't receive messages from queues

2009-06-08 Thread Arjen van der Meijden
Hello list, In a somewhat complicated set of consumption-processing, I have three queues. One to indicate a new job, which is consumed by a single long-running consumer that sends messages to a second queue. That second queue is consumed by four consumers that kill themselves after having

Re: Consumers newer than messages don't receive messages from queues

2009-06-08 Thread Arjen van der Meijden
Well, I seem to have fixed it... I completely overlooked that the default for the prefetch is actually larger than 1. Setting it to 1 fixes the problem. Still it seems to be a bit of a waste that several newly connected consumers can be idle while because a old one that is processing, is

Re: Consumers newer than messages don't receive messages from queues

2009-06-08 Thread Aleksandar Ivanisevic
Arjen van der Meijden acmmail...@tweakers.net writes: As soon as those second-queue-consumers exit however, they don't consume much messages. Most of the time it seems that only one is actually doing any work and the other three are idle, even if the queue has more than 100 messages. The same

Re: Consumers newer than messages don't receive messages from queues

2009-06-08 Thread Arjen van der Meijden
On 8-6-2009 16:25 Aleksandar Ivanisevic wrote: Arjen van der Meijden acmmail...@tweakers.net writes: As soon as those second-queue-consumers exit however, they don't consume much messages. Most of the time it seems that only one is actually doing any work and the other three are idle, even if