{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/3221","labels_url":"https://api.github.com/repos/owncloud/core/issues/3221/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/3221/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/3221/events","html_url":"https://github.com/owncloud/core/issues/3221","id":13911873,"number":3221,"title":"Cron can get into a deadlock","user":{"login":"Raydiation","id":195053,"avatar_url":"https://avatars.githubusercontent.com/u/195053?v=3","gravatar_id":"","url":"https://api.github.com/users/Raydiation","html_url":"https://github.com/Raydiation","followers_url":"https://api.github.com/users/Raydiation/followers","following_url":"https://api.github.com/users/Raydiation/following{/other_user}","gists_url":"https://api.github.com/users/Raydiation/gists{/gist_id}","starred_url":"https://api.github.com/users/Raydiation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raydiation/subscriptions","organizations_url":"https://api.github.com/users/Raydiation/orgs","repos_url":"https://api.github.com/users/Raydiation/repos","events_url":"https://api.github.com/users/Raydiation/events{/privacy}","received_events_url":"https://api.github.com/users/Raydiation/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/technical%20debt","name":"technical debt","color":"FFFF00"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-next","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":363,"closed_issues":119,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-02-18T16:48:52Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":53,"created_at":"2013-05-02T21:29:01Z","updated_at":"2015-02-18T17:01:49Z","closed_at":null,"body":"Just happened to me and also others http://apps.owncloud.com/content/show.php/News?content=158434\r\n\r\nThe cron service generates a lockfile in data/cron.lock. This log file is not removed in certain cases which leads to a deadlock. The file exists and no cronjobs will be executed for that period.\r\n\r\nMy suggestion: set a maximum timeout for the cronjob lockfile and remove the lock file after that.\r\n\r\ncc @zimba12 @jakobsack @icewind1991 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/74902071","html_url":"https://github.com/owncloud/core/issues/3221#issuecomment-74902071","issue_url":"https://api.github.com/repos/owncloud/core/issues/3221","id":74902071,"user":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T17:01:49Z","updated_at":"2015-02-18T17:01:49Z","body":"> Just got the same issues on a debian 7 system. cron lock up.:Another instance of cron.php is still running.\r\n\r\nwell - this alone is not a problem but a protection to avoid that the same job is executed twice.\r\n\r\nThe problem only exists in case the first cron process dies and leaves the lock file behind."}}