Alex Rivera | Logout

python celery max-tasks-per-child-setting default

Asked 2012-04-18T08:16:23.100
8

I am using celery and i want to use the max-tasks-per-child-setting because some of the celery process get high memory usage.

I am trying to find the default value for this setting before i change but i cant find that information.

I looked here but i dont want to set it to 1 because i dont want it restarted every task.

Edit
Report

1 Answer

11

By default there is no limit

http://celery.readthedocs.org/en/latest/configuration.html#celeryd-max-tasks-per-child

You can check out all default config values from defaults.py

https://github.com/celery/celery/blob/master/celery/app/defaults.py

>>> from celery import conf
>>> conf.CELERYD_MAX_TASKS_PER_CHILD is None
True
answered 2012-04-18T19:27:04.953

Your Answer