{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/strong-pm/issues/330","repository_url":"https://api.github.com/repos/strongloop/strong-pm","labels_url":"https://api.github.com/repos/strongloop/strong-pm/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/strong-pm/issues/330/comments","events_url":"https://api.github.com/repos/strongloop/strong-pm/issues/330/events","html_url":"https://github.com/strongloop/strong-pm/issues/330","id":142441692,"number":330,"title":"ENOMEM takes down strong-pm in a way that upstart is not restarting it","user":{"login":"despairblue","id":927609,"avatar_url":"https://avatars.githubusercontent.com/u/927609?v=3","gravatar_id":"","url":"https://api.github.com/users/despairblue","html_url":"https://github.com/despairblue","followers_url":"https://api.github.com/users/despairblue/followers","following_url":"https://api.github.com/users/despairblue/following{/other_user}","gists_url":"https://api.github.com/users/despairblue/gists{/gist_id}","starred_url":"https://api.github.com/users/despairblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/despairblue/subscriptions","organizations_url":"https://api.github.com/users/despairblue/orgs","repos_url":"https://api.github.com/users/despairblue/repos","events_url":"https://api.github.com/users/despairblue/events{/privacy}","received_events_url":"https://api.github.com/users/despairblue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-21T19:09:26Z","updated_at":"2016-04-20T11:50:26Z","closed_at":"2016-04-20T11:50:26Z","body":"We had a couple of graphics magick jobs running wild, so that the kernel eventually killed one of them. That somehow tear down the whole node server, including strong-pm, in a way that upstart never restarted it.\r\n\r\n[Logs](https://gist.github.com/despairblue/1bf870bbeea58aaddbad):\r\n* Strong-pm shut down at 16:50:19 and\r\n* restarted (by issuing `sudo service strong-pm restart`) at 17:52:11.\r\n\r\nI'm not completely familiar with the upstart script that strong-pm comes with, but shouldn't upstart restart a crashing daemon by default? Does anyone have an idea why upstart wouldn't do it? Is it possible that upstart was killed itself? This kind of baffles me :confused: \r\n\r\nI'd appreciate any help. Thanks in advance."},"comment":{"url":"https://api.github.com/repos/strongloop/strong-pm/issues/comments/212394432","html_url":"https://github.com/strongloop/strong-pm/issues/330#issuecomment-212394432","issue_url":"https://api.github.com/repos/strongloop/strong-pm/issues/330","id":212394432,"user":{"login":"despairblue","id":927609,"avatar_url":"https://avatars.githubusercontent.com/u/927609?v=3","gravatar_id":"","url":"https://api.github.com/users/despairblue","html_url":"https://github.com/despairblue","followers_url":"https://api.github.com/users/despairblue/followers","following_url":"https://api.github.com/users/despairblue/following{/other_user}","gists_url":"https://api.github.com/users/despairblue/gists{/gist_id}","starred_url":"https://api.github.com/users/despairblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/despairblue/subscriptions","organizations_url":"https://api.github.com/users/despairblue/orgs","repos_url":"https://api.github.com/users/despairblue/repos","events_url":"https://api.github.com/users/despairblue/events{/privacy}","received_events_url":"https://api.github.com/users/despairblue/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T11:50:26Z","updated_at":"2016-04-20T11:50:26Z","body":"@rmg you're right. OOM is completely arbitrary. I wonder if the kernel could just initiate a reboot in that case.\r\n\r\nThanks for the help!"}}