raman created AIRFLOW-2736:
------------------------------

             Summary: Airflow 1.9.0+ Scheduler not honouring 
"non_pooled_task_slot_count" config
                 Key: AIRFLOW-2736
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2736
             Project: Apache Airflow
          Issue Type: Bug
          Components: scheduler
    Affects Versions: 1.9.0
            Reporter: raman


We are using airflow version 1.9 with celery executor. And we are observing 
that Airflow Scheduler is not honouring the "non_pooled_task_slot_count" 
config.  We are using default setting which is set to 128. But we could 
schedule and run >128 tasks concurrently.

>From code it seems that scheduler is re-initialising the open_slots with 128 
>instead of setting the remaining left over slots.

in Jobs.py

for pool, task_instances in pool_to_task_instances.items():
 if not pool:
 # Arbitrary:
 # If queued outside of a pool, trigger no more than
 # non_pooled_task_slot_count per run
 open_slots = conf.getint('core', 'non_pooled_task_slot_count')



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to