{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/5738","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/5738/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/5738/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/5738/events","html_url":"https://github.com/dmwm/WMCore/issues/5738","id":65218693,"number":5738,"title":"Do not submit jobs asking for too much resources","user":{"login":"amaltaro","id":1798520,"avatar_url":"https://avatars.githubusercontent.com/u/1798520?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltaro","html_url":"https://github.com/amaltaro","followers_url":"https://api.github.com/users/amaltaro/followers","following_url":"https://api.github.com/users/amaltaro/following{/other_user}","gists_url":"https://api.github.com/users/amaltaro/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltaro/subscriptions","organizations_url":"https://api.github.com/users/amaltaro/orgs","repos_url":"https://api.github.com/users/amaltaro/repos","events_url":"https://api.github.com/users/amaltaro/events{/privacy}","received_events_url":"https://api.github.com/users/amaltaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dmwm/WMCore/labels/Bug","name":"Bug","color":"0b02e1"}],"state":"open","locked":false,"assignee":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dmwm/WMCore/milestones/111","html_url":"https://github.com/dmwm/WMCore/milestones/WMAgent1504","labels_url":"https://api.github.com/repos/dmwm/WMCore/milestones/111/labels","id":967253,"number":111,"title":"WMAgent1504","description":"","creator":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":5,"state":"open","created_at":"2015-02-05T15:42:39Z","updated_at":"2015-04-10T21:06:11Z","due_on":"2015-04-30T05:00:00Z","closed_at":null},"comments":27,"created_at":"2015-03-30T14:01:36Z","updated_at":"2015-04-15T13:42:40Z","closed_at":null,"body":"Now that glideInWMS is enforcing \"MaxWallTimeMins\" and \"RequestDisk\", we should change WMAgent NOT to submit greedy jobs to condor, otherwise those will be pending forever.\r\nInstead, these jobs should be marked as jobfailed (or submitfailed) with a clear message.\r\n\r\nIt should be configurable and I guess it needs further discussion, but here is a first idea:\r\n - don't submit if job asks for more than 48h MaxWallTimeMins\r\n - don't submit if job asks for more than (27GB * RequestCpus) RequestDisk"},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/93405857","html_url":"https://github.com/dmwm/WMCore/issues/5738#issuecomment-93405857","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/5738","id":93405857,"user":{"login":"bbockelm","id":1093447,"avatar_url":"https://avatars.githubusercontent.com/u/1093447?v=3","gravatar_id":"","url":"https://api.github.com/users/bbockelm","html_url":"https://github.com/bbockelm","followers_url":"https://api.github.com/users/bbockelm/followers","following_url":"https://api.github.com/users/bbockelm/following{/other_user}","gists_url":"https://api.github.com/users/bbockelm/gists{/gist_id}","starred_url":"https://api.github.com/users/bbockelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbockelm/subscriptions","organizations_url":"https://api.github.com/users/bbockelm/orgs","repos_url":"https://api.github.com/users/bbockelm/repos","events_url":"https://api.github.com/users/bbockelm/events{/privacy}","received_events_url":"https://api.github.com/users/bbockelm/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T13:42:40Z","updated_at":"2015-04-15T13:42:40Z","body":"Hi,\r\n\r\nFarrukh was on the right track - we had:\r\n\r\nPostJobPrio2 = quantize(QDate, {3600})\r\n\r\n(so newer was better).  We restored this to the original intent:\r\n\r\nPostJobPrio2 = -quantize(QDate, {3600})\r\n\r\nI now see older jobs being started preferentially.  It might take a few hours for the weirdness to filter out of the system.\r\n\r\nOn the original issue of job runtime: talking to Dave Mason at the FNAL T1, he was nonplussed about the idea of longer pilots and wanted to know why we couldn't ask the requesters to do better splitting.  Let's make sure he is at the phone discussion.\r\n\r\nBrian\r\n"}}