{"action":"created","issue":{"url":"https://api.github.com/repos/cantino/huginn/issues/978","labels_url":"https://api.github.com/repos/cantino/huginn/issues/978/labels{/name}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/978/comments","events_url":"https://api.github.com/repos/cantino/huginn/issues/978/events","html_url":"https://github.com/cantino/huginn/issues/978","id":102113947,"number":978,"title":"dj: memory leak","user":{"login":"K1773R","id":913817,"avatar_url":"https://avatars.githubusercontent.com/u/913817?v=3","gravatar_id":"","url":"https://api.github.com/users/K1773R","html_url":"https://github.com/K1773R","followers_url":"https://api.github.com/users/K1773R/followers","following_url":"https://api.github.com/users/K1773R/following{/other_user}","gists_url":"https://api.github.com/users/K1773R/gists{/gist_id}","starred_url":"https://api.github.com/users/K1773R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/K1773R/subscriptions","organizations_url":"https://api.github.com/users/K1773R/orgs","repos_url":"https://api.github.com/users/K1773R/repos","events_url":"https://api.github.com/users/K1773R/events{/privacy}","received_events_url":"https://api.github.com/users/K1773R/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":65,"created_at":"2015-08-20T10:55:16Z","updated_at":"2015-11-16T22:02:45Z","closed_at":null,"body":"delay_job is using more and more memory over time. it starts at ~150M and rises forever, slowly tough. As i have 16 workers, im affected much faster.\r\nAny way to debug this? Im currently just restarting the workers every X hours.\r\nIm using Web,Mail,MailDigest,XMPP,Trigger-Agents. With Web+Trigger being the most used.\r\n\r\nCan foreman handle memory usage of dj? ie, restart a dj if mem is higher than X and no jobs currently running? restarting a worker after X jobs might also be an option.\r\n"},"comment":{"url":"https://api.github.com/repos/cantino/huginn/issues/comments/157185242","html_url":"https://github.com/cantino/huginn/issues/978#issuecomment-157185242","issue_url":"https://api.github.com/repos/cantino/huginn/issues/978","id":157185242,"user":{"login":"virtadpt","id":639730,"avatar_url":"https://avatars.githubusercontent.com/u/639730?v=3","gravatar_id":"","url":"https://api.github.com/users/virtadpt","html_url":"https://github.com/virtadpt","followers_url":"https://api.github.com/users/virtadpt/followers","following_url":"https://api.github.com/users/virtadpt/following{/other_user}","gists_url":"https://api.github.com/users/virtadpt/gists{/gist_id}","starred_url":"https://api.github.com/users/virtadpt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtadpt/subscriptions","organizations_url":"https://api.github.com/users/virtadpt/orgs","repos_url":"https://api.github.com/users/virtadpt/repos","events_url":"https://api.github.com/users/virtadpt/events{/privacy}","received_events_url":"https://api.github.com/users/virtadpt/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T22:02:45Z","updated_at":"2015-11-16T22:02:45Z","body":"Yes.  However, JabberAgent's been locking up Huginn way more than OOMs have been killing Huginn lately (two weeks or therabouts)."}}