{"action":"created","issue":{"url":"https://api.github.com/repos/irmen/Pyro4/issues/100","labels_url":"https://api.github.com/repos/irmen/Pyro4/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/irmen/Pyro4/issues/100/comments","events_url":"https://api.github.com/repos/irmen/Pyro4/issues/100/events","html_url":"https://github.com/irmen/Pyro4/issues/100","id":119781714,"number":100,"title":"Restarting Name Server raises socket.error: [Errno 98] Address already in use","user":{"login":"mkmoisen","id":2534631,"avatar_url":"https://avatars.githubusercontent.com/u/2534631?v=3","gravatar_id":"","url":"https://api.github.com/users/mkmoisen","html_url":"https://github.com/mkmoisen","followers_url":"https://api.github.com/users/mkmoisen/followers","following_url":"https://api.github.com/users/mkmoisen/following{/other_user}","gists_url":"https://api.github.com/users/mkmoisen/gists{/gist_id}","starred_url":"https://api.github.com/users/mkmoisen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkmoisen/subscriptions","organizations_url":"https://api.github.com/users/mkmoisen/orgs","repos_url":"https://api.github.com/users/mkmoisen/repos","events_url":"https://api.github.com/users/mkmoisen/events{/privacy}","received_events_url":"https://api.github.com/users/mkmoisen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-01T18:47:22Z","updated_at":"2015-12-21T13:59:27Z","closed_at":"2015-12-06T18:52:12Z","body":"I've found that around half the time, restarting the Name Server (either by hitting `CTRL+C` in a window that is running the Name Server, or by killing the Name Server process when it is controlled by `supervisord`) will result in the following error:\r\n\r\n    socket.error: [Errno 98] Address already in use\r\n\r\nWhen this error occurs, it takes about 30 seconds for the Name Server to release the socket.\r\n\r\nThis error does not occur all the time. Sometimes I can restart the server 10 times in a row without issue. Other times I will encounter this issue 10 times in a row.\r\n\r\nIs there a way to prevent this?"},"comment":{"url":"https://api.github.com/repos/irmen/Pyro4/issues/comments/166311141","html_url":"https://github.com/irmen/Pyro4/issues/100#issuecomment-166311141","issue_url":"https://api.github.com/repos/irmen/Pyro4/issues/100","id":166311141,"user":{"login":"irmen","id":1771820,"avatar_url":"https://avatars.githubusercontent.com/u/1771820?v=3","gravatar_id":"","url":"https://api.github.com/users/irmen","html_url":"https://github.com/irmen","followers_url":"https://api.github.com/users/irmen/followers","following_url":"https://api.github.com/users/irmen/following{/other_user}","gists_url":"https://api.github.com/users/irmen/gists{/gist_id}","starred_url":"https://api.github.com/users/irmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irmen/subscriptions","organizations_url":"https://api.github.com/users/irmen/orgs","repos_url":"https://api.github.com/users/irmen/repos","events_url":"https://api.github.com/users/irmen/events{/privacy}","received_events_url":"https://api.github.com/users/irmen/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T13:59:27Z","updated_at":"2015-12-21T13:59:27Z","body":"btw in commit fc5ae662510bd9ded4c99cbe33e22cb6ab1d1666 the option now defaults to ON -- let's see how things develop with that"}}