{"action":"created","issue":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2478","labels_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2478/labels{/name}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2478/comments","events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2478/events","html_url":"https://github.com/DIRACGrid/DIRAC/pull/2478","id":92905669,"number":2478,"title":"[v6r12] Proposal to modify PilotStatusAgent to consider pilot's payload job","user":{"login":"Kiyoshi-Hayasaka","id":12999210,"avatar_url":"https://avatars.githubusercontent.com/u/12999210?v=3","gravatar_id":"","url":"https://api.github.com/users/Kiyoshi-Hayasaka","html_url":"https://github.com/Kiyoshi-Hayasaka","followers_url":"https://api.github.com/users/Kiyoshi-Hayasaka/followers","following_url":"https://api.github.com/users/Kiyoshi-Hayasaka/following{/other_user}","gists_url":"https://api.github.com/users/Kiyoshi-Hayasaka/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiyoshi-Hayasaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiyoshi-Hayasaka/subscriptions","organizations_url":"https://api.github.com/users/Kiyoshi-Hayasaka/orgs","repos_url":"https://api.github.com/users/Kiyoshi-Hayasaka/repos","events_url":"https://api.github.com/users/Kiyoshi-Hayasaka/events{/privacy}","received_events_url":"https://api.github.com/users/Kiyoshi-Hayasaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-03T16:30:18Z","updated_at":"2015-07-06T22:27:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2478","html_url":"https://github.com/DIRACGrid/DIRAC/pull/2478","diff_url":"https://github.com/DIRACGrid/DIRAC/pull/2478.diff","patch_url":"https://github.com/DIRACGrid/DIRAC/pull/2478.patch"},"body":"Hi,\r\nWe like to propose to modify PilotStatusAgent to consider pilot's payload job activity.\r\nIn the current code, even if pilot has running payload job, PilotStatusAgent force\r\nthe pilot deleted when the time limitation is exceeded. So, our modified code\r\nto check the pilot's payload job activity before to make pilot deleted.\r\n\r\nIn addition, since PilotStatusAgent does not kill pilots actually,\r\n\"ghost\" (or deleted) pilot makes its payload job execute later.  This makes some confusion.\r\nSo, we like to propose to introduce the code to kill pilots actually, whose status becomes deleted.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/comments/119016119","html_url":"https://github.com/DIRACGrid/DIRAC/pull/2478#issuecomment-119016119","issue_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2478","id":119016119,"user":{"login":"atsareg","id":679892,"avatar_url":"https://avatars.githubusercontent.com/u/679892?v=3","gravatar_id":"","url":"https://api.github.com/users/atsareg","html_url":"https://github.com/atsareg","followers_url":"https://api.github.com/users/atsareg/followers","following_url":"https://api.github.com/users/atsareg/following{/other_user}","gists_url":"https://api.github.com/users/atsareg/gists{/gist_id}","starred_url":"https://api.github.com/users/atsareg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsareg/subscriptions","organizations_url":"https://api.github.com/users/atsareg/orgs","repos_url":"https://api.github.com/users/atsareg/repos","events_url":"https://api.github.com/users/atsareg/events{/privacy}","received_events_url":"https://api.github.com/users/atsareg/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T22:27:48Z","updated_at":"2015-07-06T22:27:48Z","body":"This is an interesting case, I mean very long living pilots in Running state. I guess you got it when running on non-grid sites where you do not have limitations in the task queue. Even if I agree in principle with the solution that you propose, may be in it is just simpler to increase the PilotStalledDays option value ( 3 by default ) to something more appropriate for your sites ?"}}