{"action":"created","issue":{"url":"https://api.github.com/repos/seung-lab/cloud-volume/issues/71","repository_url":"https://api.github.com/repos/seung-lab/cloud-volume","labels_url":"https://api.github.com/repos/seung-lab/cloud-volume/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/seung-lab/cloud-volume/issues/71/comments","events_url":"https://api.github.com/repos/seung-lab/cloud-volume/issues/71/events","html_url":"https://github.com/seung-lab/cloud-volume/issues/71","id":300828232,"node_id":"MDU6SXNzdWUzMDA4MjgyMzI=","number":71,"title":"Close All ConnectionPool connections","user":{"login":"william-silversmith","id":2517065,"node_id":"MDQ6VXNlcjI1MTcwNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2517065?v=4","gravatar_id":"","url":"https://api.github.com/users/william-silversmith","html_url":"https://github.com/william-silversmith","followers_url":"https://api.github.com/users/william-silversmith/followers","following_url":"https://api.github.com/users/william-silversmith/following{/other_user}","gists_url":"https://api.github.com/users/william-silversmith/gists{/gist_id}","starred_url":"https://api.github.com/users/william-silversmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/william-silversmith/subscriptions","organizations_url":"https://api.github.com/users/william-silversmith/orgs","repos_url":"https://api.github.com/users/william-silversmith/repos","events_url":"https://api.github.com/users/william-silversmith/events{/privacy}","received_events_url":"https://api.github.com/users/william-silversmith/received_events","type":"User","site_admin":false},"labels":[{"id":654787828,"node_id":"MDU6TGFiZWw2NTQ3ODc4Mjg=","url":"https://api.github.com/repos/seung-lab/cloud-volume/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-27T23:07:19Z","updated_at":"2018-05-31T16:41:18Z","closed_at":"2018-05-31T16:41:18Z","author_association":"CONTRIBUTOR","body":"CloudVolume exhibits some unreliability after long running times. I wonder if it is due to dead connections piling up.\r\n\r\nThe connection pool currently works by pulling items out of the pool and returning them voluntarily when the process using them finishes. \r\n\r\nIf a thread dies holding a connection, does the FD close?\r\n\r\nOne way to avoid this problem is to retain a queue of outstanding connections and periodically close them when it is safe to do so.\r\n\r\nOne safe place might be at the end of a `with Storage` statement\r\n"},"comment":{"url":"https://api.github.com/repos/seung-lab/cloud-volume/issues/comments/393595948","html_url":"https://github.com/seung-lab/cloud-volume/issues/71#issuecomment-393595948","issue_url":"https://api.github.com/repos/seung-lab/cloud-volume/issues/71","id":393595948,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU5NTk0OA==","user":{"login":"william-silversmith","id":2517065,"node_id":"MDQ6VXNlcjI1MTcwNjU=","avatar_url":"https://avatars1.githubusercontent.com/u/2517065?v=4","gravatar_id":"","url":"https://api.github.com/users/william-silversmith","html_url":"https://github.com/william-silversmith","followers_url":"https://api.github.com/users/william-silversmith/followers","following_url":"https://api.github.com/users/william-silversmith/following{/other_user}","gists_url":"https://api.github.com/users/william-silversmith/gists{/gist_id}","starred_url":"https://api.github.com/users/william-silversmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/william-silversmith/subscriptions","organizations_url":"https://api.github.com/users/william-silversmith/orgs","repos_url":"https://api.github.com/users/william-silversmith/repos","events_url":"https://api.github.com/users/william-silversmith/events{/privacy}","received_events_url":"https://api.github.com/users/william-silversmith/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T16:41:18Z","updated_at":"2018-05-31T16:41:18Z","author_association":"CONTRIBUTOR","body":"Cleaning up those SimpleStorages + using concurrent.futures instead of multiprocessing seems to have helped a lot. I'm going to close this for now."}}
{"actor":{"display_login":"william-silversmith"}}