Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8588507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:49:10+00:00 2026-06-11T22:49:10+00:00

I might be misunderstanding how this works (which is why I’m asking), but I

  • 0

I might be misunderstanding how this works (which is why I’m asking), but I think when a celery worker consumes a task from RabbitMQ it puts a lock on it — so to speak — and then must acknowledge it completed that task onces it’s done. So say I have 4 workers which all have the prefetch setting at 1 and queue of 6 tasks which take a long time. Once I start those workers and I run:

rabbitmqctl -q list_queues name messages messages_ready messages_unacknowledged

I’d expect to see something like:

celery  6       2       4

indicating that 4 tasks are running (but not yet acknowledged) and 2 are ready to be consumed.

I think my understanding is wrong because what I actually see is:

celery  2       0       2

So it’s as if the acknowledging happens when a message is received by a worker, but before that worker finishes processing that task.

So to sum up, my question is, when does a celery worker acknowledge it has a task? It seems like it’s once it receives that task and starts working on it, not when it completes working on it. Can someone confirm?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:49:11+00:00Added an answer on June 11, 2026 at 10:49 pm

    This is mentioned in the FAQ, but I can’t blame you for not finding it:
    http://docs.celeryproject.org/en/latest/faq.html#should-i-use-retry-or-acks-late

    The default behavior of early ack is there because we don’t want to enforce users
    to write idempotent tasks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This might be a fundamental jQuery misunderstanding but I've got to ask... I'm trying
I may be greatly misunderstanding this threading scenario, but that's why I'm asking. What
Might be my question is abstract or out of context, but i am asking
This might seem like a very easy question for some of you folks, but
This might be a simple question but I've searched and searched and can't find
[I might be misunderstanding this entire topic, as I've grown up with languages that
This might at first glance seem rather similar to this question , but in
I might be misunderstanding code contracts, but here's my situation. I have the following
I might be mis-understanding here but from my understanding a markdown editor strips out
I am new to Entity Framework, but might be misunderstanding something, or doing something

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.