Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

strange tube stats, current-jobs-ready is larger than total-jobs #81

JerryKwan opened this Issue Nov 2, 2011 · 2 comments


None yet
2 participants

some times i query the stats of a tube, but the states is strange, the current-jobs-ready is larger than total jobs? why?
for my example, the current-jobs-ready is 22, but the total-jobs is only 18, why could this happen?
beanstalkd is run in persistence mode using -b parameter.


kr commented Nov 2, 2011

That's normal if you've restarted beanstalkd and it read any jobs from the log.
The total-jobs stat counts jobs that have been submitted to the beanstalkd
process, which doesn't include jobs read from the binlog.

The protocol doc should probably be reworded to clarify this. (Also, the name
"total-jobs" is misleading now, but it predates the -b flag and can't be changed
until beanstalkd 2.)

@kr kr closed this in e50ec07 Nov 2, 2011

thank you for your prompt reply.
thank you again, Keith Rarick, thank you for your great work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment