**n**, **-hostname** <hostname>
Set custom hostname (e.g., ‘w1@%%h’). Expands: %%h (hostname), %%n (name) and %%d, (domain).
**D**, **-detach**
Start worker as a background process.
**S**, **-statedb** <statedb>
Path to the state database. The extension ‘.db’ may be appended to the filename.
**l**, **-loglevel** <loglevel>
Logging level.OptionsDEBUG|INFO|WARNING|ERROR|CRITICAL|FATAL
**O** <optimization>
Apply optimization profile.Optionsdefault|fair
**-prefetch-multiplier** <prefetch multiplier>
Set custom prefetch multiplier valuefor this worker instance.
**c**, **-concurrency** <concurrency>
Number of child processes processing the queue. The default is the number of CPUs availableon your system.
**P**, **-pool** <pool>
Pool implementation.Optionsprefork|eventlet|gevent|solo
**E**, **-task-events**, **-events**
Send task-related events that can be captured by monitors like celery events, celerymon, and others.
**-time-limit** <time_limit>
Enables a hard time limit (in seconds int/float) for tasks.
**-soft-time-limit** <soft_time_limit>
Enables a soft time limit (in seconds int/float) for tasks.
**-max-tasks-per-child** <max_tasks_per_child>
Maximum number of tasks a pool worker can execute before it’s terminated and replaced by a new worker.
**-max-memory-per-child** <max_memory_per_child>
Maximum amount of resident memory, in KiB, that may be consumed by a child process before it will be replaced by a new one. If a single task causes a child process to exceed this limit, the task will be completed and the child process will be replaced afterwards. Default: no limit.
**-purge**, **-discard**
**Q**, **-queues** <queues>
**X**, **-exclude-queues** <exclude_queues>
**I**, **-include** <include>
-without-gossip
-without-mingle