{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/3e9dc491607f52141897a765eaab25e4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3e9dc491607f52141897a765eaab25e4","url":"https://api.github.com/users/kmike","login":"kmike","id":107893},"milestone":null,"labels":[{"name":"confirmed","color":"ff9900","url":"https://api.github.com/repos/ask/celery/labels/confirmed"},{"name":"gevent","color":"e102d8","url":"https://api.github.com/repos/ask/celery/labels/gevent"},{"name":"NEEDS HELP","color":"ededed","url":"https://api.github.com/repos/ask/celery/labels/NEEDS+HELP"}],"updated_at":"2011-10-28T03:25:05Z","assignee":null,"comments":4,"closed_at":null,"url":"https://api.github.com/repos/ask/celery/issues/425","body":"I'm using celery + django-celery and running the worker as\r\n\r\n    ./manage.py celeryd -v2 --pool=eventlet -c100 -Q io -l debug\r\n\r\nThis worker hangs if CELERY_DISABLE_RATE_LIMITS=False:\r\n\r\n```\r\n> ./manage.py celeryd -v2 --pool=eventlet -c100 -Q io -l debug\r\n/Users/kmike/envs/zina/lib/python2.6/site-packages/djcelery/loaders.py:80: UserWarning: Using settings.DEBUG leads to a memory leak, neveruse this setting in production environments!\r\n  warnings.warn(\"Using settings.DEBUG leads to a memory leak, never\"\r\n[2011-07-02 11:56:19,598: WARNING/MainProcess]  \r\n\r\n -------------- celery@MacBook.local v2.2.7\r\n---- **** -----\r\n--- * ***  * -- [Configuration]\r\n-- * - **** ---   . broker:      djkombu.transport.DatabaseTransport://guest@localhost:56728/\r\n- ** ----------   . loader:      djcelery.loaders.DjangoLoader\r\n- ** ----------   . logfile:     [stderr]@DEBUG\r\n- ** ----------   . concurrency: 100\r\n- ** ----------   . events:      OFF\r\n- *** --- * ---   . beat:        OFF\r\n-- ******* ----\r\n--- ***** ----- [Queues]\r\n --------------   . io:          exchange:io (direct) binding:io\r\n                  \r\n\r\n[Tasks]\r\n  . celery.backend_cleanup\r\n  . celery.ping\r\n  . kuponator.parse\r\n  . scraping.apply_rule\r\n  . scraping.download\r\n  . scraping.dummy_parse\r\n\r\n[2011-07-02 11:56:19,599: DEBUG/MainProcess] Instantiating thread components...\r\n[2011-07-02 11:56:19,606: DEBUG/MainProcess] Starting thread TaskPool...\r\n[2011-07-02 11:56:19,612: DEBUG/MainProcess] Starting thread Mediator...\r\n[2011-07-02 11:56:19,612: DEBUG/MainProcess] Starting thread Timer...\r\n[2011-07-02 11:56:19,612: DEBUG/MainProcess] Starting thread Consumer...\r\n[2011-07-02 11:56:19,613: WARNING/MainProcess] celery@MacBook.local has started.\r\n[2011-07-02 11:56:19,613: DEBUG/MainProcess] Consumer: Re-establishing connection to the broker...\r\n[2011-07-02 11:56:19,614: DEBUG/MainProcess] Consumer: Connection Established.\r\n[2011-07-02 11:56:19,626: DEBUG/MainProcess] (0.003) SELECT \"djkombu_queue\".\"id\", \"djkombu_queue\".\"name\" FROM \"djkombu_queue\" WHERE \"djkombu_queue\".\"name\" = E'io' ; args=('io',)\r\n[2011-07-02 11:56:19,630: DEBUG/MainProcess] (0.001) SELECT \"djkombu_queue\".\"id\", \"djkombu_queue\".\"name\" FROM \"djkombu_queue\" WHERE \"djkombu_queue\".\"name\" = E'io' ; args=('io',)\r\n[2011-07-02 11:56:19,638: DEBUG/MainProcess] (0.001) SELECT COUNT(*) FROM \"djkombu_message\" WHERE \"djkombu_message\".\"queue_id\" = 3 ; args=(3,)\r\n[2011-07-02 11:56:19,638: DEBUG/MainProcess] basic.qos: prefetch_count->400\r\n[2011-07-02 11:56:19,641: DEBUG/MainProcess] Consumer: Starting message consumer...\r\n[2011-07-02 11:56:19,641: DEBUG/MainProcess] Consumer: Ready to accept tasks!\r\n[2011-07-02 11:56:19,658: DEBUG/MainProcess] (0.004) SELECT \"djkombu_queue\".\"id\", \"djkombu_queue\".\"name\" FROM \"djkombu_queue\" WHERE \"djkombu_queue\".\"name\" = E'MacBook.local.celeryd.pidbox' ; args=('MacBook.local.celeryd.pidbox',)\r\n[2011-07-02 11:56:19,660: DEBUG/MainProcess] (0.007) SELECT \"djkombu_queue\".\"id\", \"djkombu_queue\".\"name\" FROM \"djkombu_queue\" WHERE \"djkombu_queue\".\"name\" = E'io' ; args=('io',)\r\n```\r\n\r\nThis worker also can't be killed with Ctrl-C  (looks like #247). OS is Mac OS X","html_url":"https://github.com/ask/celery/issues/425","title":"[gevent] doesn't work with CELERY_DISABLE_RATE_LIMITS=False","number":425,"id":1154418,"created_at":"2011-07-02T08:00:55Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/7e8b501f7f579c66ddac7e65cb7962b4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7e8b501f7f579c66ddac7e65cb7962b4","url":"https://api.github.com/users/ask","login":"ask","id":1558},"updated_at":"2011-10-28T03:25:05Z","url":"https://api.github.com/repos/ask/celery/issues/comments/2552158","body":"gevent now automatically disables rate limits,\r\nstill need to find a way to add support.","id":2552158,"created_at":"2011-10-28T03:25:05Z"}}