Hi Ryan,Please provide a full dump of all the variables involved in this setup.Celery versionDjango versionErland versionRabbitMQ versionAMQP versionPython versionOS versionCelery config
--
You received this message because you are subscribed to the Google Groups "celery-users" group.
To post to this group, send email to celery...@googlegroups.com.
To unsubscribe from this group, send email to celery-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/celery-users?hl=en.
Cal Leeming
Operational Security & Support Team
Out of Hours: +44 (07534) 971120 | Support Tickets: sup...@simplicitymedialtd.co.uk
Fax: +44 (02476) 578987 | Email: cal.l...@simplicitymedialtd.co.uk
> We've got RabbitMQ running in production and several celery workers
> that are constantly doing work. Periodically, we notice that our
> workers stop working entirely and generate the following traceback
> over and over into our logs:
>
> 2010-08-24 19:35:20,549 DEBG 'celery' stderr output:
> [2010-08-24 19:35:20,548: ERROR/MainProcess] CarrotListener:
> Connection to broker lost. Trying to re-establish connection...
>
> [...]
> self.publisher.send(Event(type, hostname=self.hostname, **fields))
> File "/opt/shootq/shootqenv/lib/python2.5/site-packages/
> [...]
> error: (32, 'Broken pipe')
>
> We figure this is just network errors, but the problem is that any
> time this occurs, our celery workers are just completely hosed until
> we restart them manually. Does anybody have any sort of explanation
> as to what's causing this, and how we can prevent or at least detect
> it?
Apparently celeryd is trying to send an event while the connection is down.
I created a fix for this just now, backported into the stable branch:
http://github.com/ask/celery/tree/release20-maint
Could you test this? If it seems to be working I'll make a 2.0.3 release.
Also, could you check your rabbitmq logs? Maybe there are additional clues
there to as why it lost the connection in the first place.
--
{Ask Solem,
+47 98435213 | twitter.com/asksol }.