Wednesday, 15 September 2010

django - Running celery on windows -



django - Running celery on windows -

i'm working django , development environment windows. yesterday spent whole day trying create celery run on laptop rabbitmq. went through tutorials , nil special mentions windows. followed official documentation of celery: http://celery.readthedocs.org/en/latest/django/first-steps-with-django.html

eventually tried run on ubuntu , worked. worker stuck after running celery or manage.py celeryd:

python manage.py celery worker -e -l debug

[2014-06-18 07:23:48,516: debug/mainprocess] | worker: preparing bootsteps. [2014-06-18 07:23:48,525: debug/mainprocess] | worker: building graph... [2014-06-18 07:23:48,532: debug/mainprocess] | worker: new boot order: {statedb, timer, hub, queues (intra), pool, autoscaler, beat, autoreloader, consumer} [2014-06-18 07:23:48,549: debug/mainprocess] | consumer: preparing bootsteps. [2014-06-18 07:23:48,553: debug/mainprocess] | consumer: building graph... [2014-06-18 07:23:48,569: debug/mainprocess] | consumer: new boot order: {connection, events, mingle, gossip, tasks, control, agent, heart, event loop} [2014-06-18 07:23:48,582: debug/mainprocess] | worker: starting pool

i tried run celeryd cygwin didn't work too. rabbitmq configuration ok , see django able send messages rabbitmq.

i'm sure it's related windows , not defect configuration. here's configuration:

# celery djcelery.setup_loader() broker_host = "127.0.0.1" broker_port = 5672 broker_user = "my_user" broker_password = "my_pass" broker_vhost = "my_vhost"

i used 'localhost' instead of 127.0.0.1.

does 1 knows celery on windows? other suggestions?

django rabbitmq celery celeryd djcelery

No comments:

Post a Comment