Homekolab.org

Set default value of --max-tasks to None, which effectively makes pool workers…

Authored by Liutauras Adomaitis <adomaitis@kolabsystems.com> on Aug 21 2019, 12:15 PM.

Description

Set default value of --max-tasks to None, which effectively makes pool workers work forever.

Summary: That should be a workaround for issue when multiprocessing spawns a process which never gets a task and that ends up with all pool processes not getting into a state to accept new task and emails start congest. Most probably that is a deadlock situation described in https://codewithoutrules.com/2018/09/04/python-multiprocessing/ . The solution is in Python3.

Reviewers: vanmeeuwen

Reviewed By: vanmeeuwen

Subscribers: petersen, machniak

Differential Revision: https://git.kolab.org/D803

Details

Committed
Liutauras Adomaitis <adomaitis@kolabsystems.com>Aug 21 2019, 4:17 PM
Pushed
adomaitisAug 21 2019, 4:17 PM
Reviewer
vanmeeuwen
Differential Revision
D803: Set default value of --max-tasks to None, which effectively makes pool workers work forever.
Parents
rP4c874eaeea92: Bump number to 0.8.14
Branches
Unknown
Tags
Unknown
Build Status
Buildable 25817