Celery v0.9.0 (unstable) documentation

This Page

Celery Worker Daemon - celery.bin.celeryd

celeryd

-c, --concurrency
Number of child processes processing the queue. The default is the number of CPUs available on your system.
-f, --logfile
Path to log file. If no logfile is specified, stderr is used.
-l, --loglevel
Logging level, choose between DEBUG, INFO, WARNING, ERROR, CRITICAL, or FATAL.
-p, --pidfile
Path to pidfile.
-B, --beat
Also run the celerybeat periodic task scheduler. Please note that there must only be one instance of this service.
-s, --statistics
Turn on reporting of statistics (remember to flush the statistics message queue from time to time).
-d, --detach, --daemon
Run in the background as a daemon.
--discard
Discard all waiting tasks before the daemon is started. WARNING: This is unrecoverable, and the tasks will be deleted from the messaging server.
-u, --uid
User-id to run celeryd as when in daemon mode.
-g, --gid
Group-id to run celeryd as when in daemon mode.
--umask
umask of the process when in daemon mode.
--workdir
Directory to change to when in daemon mode.
--chroot
Change root directory to this path when in daemon mode.
celery.bin.celeryd.parse_options(arguments)
Parse the available options to celeryd.
celery.bin.celeryd.run_worker(concurrency=0, detach=False, loglevel=30, logfile='celeryd.log', discard=False, pidfile='celeryd.pid', umask=0, uid=None, gid=None, working_directory=None, chroot=None, statistics=None, run_clockservice=False, **kwargs)
Starts the celery worker server.