{"action":"created","issue":{"url":"https://api.github.com/repos/openai/gym/issues/257","repository_url":"https://api.github.com/repos/openai/gym","labels_url":"https://api.github.com/repos/openai/gym/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/openai/gym/issues/257/comments","events_url":"https://api.github.com/repos/openai/gym/issues/257/events","html_url":"https://github.com/openai/gym/issues/257","id":166675765,"number":257,"title":"Doom envs create from threads leave behind running vizdoom processes","user":{"login":"danijar","id":2111293,"avatar_url":"https://avatars.githubusercontent.com/u/2111293?v=3","gravatar_id":"","url":"https://api.github.com/users/danijar","html_url":"https://github.com/danijar","followers_url":"https://api.github.com/users/danijar/followers","following_url":"https://api.github.com/users/danijar/following{/other_user}","gists_url":"https://api.github.com/users/danijar/gists{/gist_id}","starred_url":"https://api.github.com/users/danijar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danijar/subscriptions","organizations_url":"https://api.github.com/users/danijar/orgs","repos_url":"https://api.github.com/users/danijar/repos","events_url":"https://api.github.com/users/danijar/events{/privacy}","received_events_url":"https://api.github.com/users/danijar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-20T20:36:08Z","updated_at":"2016-07-21T15:31:12Z","closed_at":null,"body":"After some experiments that open multiple Doom environments from different threads, my X server reports this and I cannot open any more windows.\r\n\r\n    Maximum number of clients reached\r\n\r\nThere are several running `vizdoom` instances left after the agent script terminates and I have to run `killall vizdoom -9` to get my machine working again.\r\n\r\n![vizdoom](https://cloud.githubusercontent.com/assets/2111293/17001914/51bb25d2-4ec9-11e6-9b78-86deb848585b.png)"},"comment":{"url":"https://api.github.com/repos/openai/gym/issues/comments/234290785","html_url":"https://github.com/openai/gym/issues/257#issuecomment-234290785","issue_url":"https://api.github.com/repos/openai/gym/issues/257","id":234290785,"user":{"login":"ppaquette","id":416547,"avatar_url":"https://avatars.githubusercontent.com/u/416547?v=3","gravatar_id":"","url":"https://api.github.com/users/ppaquette","html_url":"https://github.com/ppaquette","followers_url":"https://api.github.com/users/ppaquette/followers","following_url":"https://api.github.com/users/ppaquette/following{/other_user}","gists_url":"https://api.github.com/users/ppaquette/gists{/gist_id}","starred_url":"https://api.github.com/users/ppaquette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppaquette/subscriptions","organizations_url":"https://api.github.com/users/ppaquette/orgs","repos_url":"https://api.github.com/users/ppaquette/repos","events_url":"https://api.github.com/users/ppaquette/events{/privacy}","received_events_url":"https://api.github.com/users/ppaquette/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T15:31:12Z","updated_at":"2016-07-21T15:31:12Z","body":"Positive. All vizdoom processes are terminated properly with the example above.\r\n\r\nI'm not sure why your vizdoom processes are not terminating properly. It might be an error being thrown somewhere."}}
{"actor":{"display_login":"ppaquette"}}