{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/airflow/issues/1057","repository_url":"https://api.github.com/repos/airbnb/airflow","labels_url":"https://api.github.com/repos/airbnb/airflow/issues/1057/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/airflow/issues/1057/comments","events_url":"https://api.github.com/repos/airbnb/airflow/issues/1057/events","html_url":"https://github.com/airbnb/airflow/issues/1057","id":135381253,"number":1057,"title":"Used slots number is greater than the slots threshold fixed","user":{"login":"krazavet","id":15686059,"avatar_url":"https://avatars.githubusercontent.com/u/15686059?v=3","gravatar_id":"","url":"https://api.github.com/users/krazavet","html_url":"https://github.com/krazavet","followers_url":"https://api.github.com/users/krazavet/followers","following_url":"https://api.github.com/users/krazavet/following{/other_user}","gists_url":"https://api.github.com/users/krazavet/gists{/gist_id}","starred_url":"https://api.github.com/users/krazavet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krazavet/subscriptions","organizations_url":"https://api.github.com/users/krazavet/orgs","repos_url":"https://api.github.com/users/krazavet/repos","events_url":"https://api.github.com/users/krazavet/events{/privacy}","received_events_url":"https://api.github.com/users/krazavet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-02-22T10:43:40Z","updated_at":"2016-03-23T06:54:54Z","closed_at":null,"body":"Hello,\r\n\r\nI have an issue when scheduling some jobs on Airflow. I have limited the number of slots using the UI and created my BashOperators with the same pool name.\r\nHowever, after several days of runs (without any similar problems), the number of used slots is exceeding the limit as you can see in the screen shot below.\r\n\r\n![alt tag](http://img15.hostingpics.net/pics/941853screenshot.png)\r\n\r\nHow could it be possible that the number of used slots exceeds the number of slots specified ?\r\n"},"comment":{"url":"https://api.github.com/repos/airbnb/airflow/issues/comments/200212732","html_url":"https://github.com/airbnb/airflow/issues/1057#issuecomment-200212732","issue_url":"https://api.github.com/repos/airbnb/airflow/issues/1057","id":200212732,"user":{"login":"r39132","id":581734,"avatar_url":"https://avatars.githubusercontent.com/u/581734?v=3","gravatar_id":"","url":"https://api.github.com/users/r39132","html_url":"https://github.com/r39132","followers_url":"https://api.github.com/users/r39132/followers","following_url":"https://api.github.com/users/r39132/following{/other_user}","gists_url":"https://api.github.com/users/r39132/gists{/gist_id}","starred_url":"https://api.github.com/users/r39132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r39132/subscriptions","organizations_url":"https://api.github.com/users/r39132/orgs","repos_url":"https://api.github.com/users/r39132/repos","events_url":"https://api.github.com/users/r39132/events{/privacy}","received_events_url":"https://api.github.com/users/r39132/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T06:54:54Z","updated_at":"2016-03-23T06:54:54Z","body":"The CLI backfill and the scheduler are in fact 2 separate processes and both `schedule` work. As a result, both can read the current queue size and result in oversubscription of the queue. There is a https://github.com/airbnb/airflow/wiki/Roadmap item for this under `Backfill offers a parallel code path to scheduling`"}}