{"action":"created","issue":{"url":"https://api.github.com/repos/jmbredal/NAV/issues/139","repository_url":"https://api.github.com/repos/jmbredal/NAV","labels_url":"https://api.github.com/repos/jmbredal/NAV/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/jmbredal/NAV/issues/139/comments","events_url":"https://api.github.com/repos/jmbredal/NAV/issues/139/events","html_url":"https://github.com/jmbredal/NAV/issues/139","id":201249147,"number":139,"title":"ipdevpoll leaks memory on database exceptions","user":{"login":"jmbredal","id":2187858,"avatar_url":"https://avatars.githubusercontent.com/u/2187858?v=3","gravatar_id":"","url":"https://api.github.com/users/jmbredal","html_url":"https://github.com/jmbredal","followers_url":"https://api.github.com/users/jmbredal/followers","following_url":"https://api.github.com/users/jmbredal/following{/other_user}","gists_url":"https://api.github.com/users/jmbredal/gists{/gist_id}","starred_url":"https://api.github.com/users/jmbredal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmbredal/subscriptions","organizations_url":"https://api.github.com/users/jmbredal/orgs","repos_url":"https://api.github.com/users/jmbredal/repos","events_url":"https://api.github.com/users/jmbredal/events{/privacy}","received_events_url":"https://api.github.com/users/jmbredal/received_events","type":"User","site_admin":false},"labels":[{"id":520099359,"url":"https://api.github.com/repos/jmbredal/NAV/labels/Fix%20Released","name":"Fix Released","color":"ddffdd","default":false},{"id":520099389,"url":"https://api.github.com/repos/jmbredal/NAV/labels/High","name":"High","color":"ffdddd","default":false},{"id":520101473,"url":"https://api.github.com/repos/jmbredal/NAV/labels/ipdevpoll","name":"ipdevpoll","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-17T11:16:39Z","updated_at":"2017-01-17T15:04:34Z","closed_at":null,"body":"ipdevpoll in NAV 3.8 (up to 3.8.2) leaks memory every time a job fails because of a database error.  Some devices will continually have database errors (often due to serial number conflicts, which are handled very gracefully by all parts of ipdevpoll), causing ipdevpoll to grow in size gradually over time.\n\nThe memory leak occurs because a reference to a JobHandler object is held by Twisted's system event trigger registry. Each JobHandler registers an event handler for Twisted's shutdown event, but forgets to unregister the handler if the handler fails during the save phase."},"comment":{"url":"https://api.github.com/repos/jmbredal/NAV/issues/comments/273193465","html_url":"https://github.com/jmbredal/NAV/issues/139#issuecomment-273193465","issue_url":"https://api.github.com/repos/jmbredal/NAV/issues/139","id":273193465,"user":{"login":"jmbredal","id":2187858,"avatar_url":"https://avatars.githubusercontent.com/u/2187858?v=3","gravatar_id":"","url":"https://api.github.com/users/jmbredal","html_url":"https://github.com/jmbredal","followers_url":"https://api.github.com/users/jmbredal/followers","following_url":"https://api.github.com/users/jmbredal/following{/other_user}","gists_url":"https://api.github.com/users/jmbredal/gists{/gist_id}","starred_url":"https://api.github.com/users/jmbredal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmbredal/subscriptions","organizations_url":"https://api.github.com/users/jmbredal/orgs","repos_url":"https://api.github.com/users/jmbredal/repos","events_url":"https://api.github.com/users/jmbredal/events{/privacy}","received_events_url":"https://api.github.com/users/jmbredal/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T15:04:34Z","updated_at":"2017-01-17T15:04:34Z","body":"(by mbrekkevold)\nfix here: http://metanav.uninett.no/hg/series/3.8.x/rev/76dc953c025a"}}
{"actor":{"display_login":"jmbredal"}}