{"action":"created","issue":{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/79","labels_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/79/comments","events_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/79/events","html_url":"https://github.com/spooning/SeleniumLibrary/issues/79","id":101388193,"number":79,"title":"Selenium Python API leaks sockets on Jython because connections to SeleniumServer are not closed explicitly","user":{"login":"spooning","id":1658993,"avatar_url":"https://avatars.githubusercontent.com/u/1658993?v=3","gravatar_id":"","url":"https://api.github.com/users/spooning","html_url":"https://github.com/spooning","followers_url":"https://api.github.com/users/spooning/followers","following_url":"https://api.github.com/users/spooning/following{/other_user}","gists_url":"https://api.github.com/users/spooning/gists{/gist_id}","starred_url":"https://api.github.com/users/spooning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooning/subscriptions","organizations_url":"https://api.github.com/users/spooning/orgs","repos_url":"https://api.github.com/users/spooning/repos","events_url":"https://api.github.com/users/spooning/events{/privacy}","received_events_url":"https://api.github.com/users/spooning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/labels/prio-high","name":"prio-high","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/milestones/8","html_url":"https://github.com/spooning/SeleniumLibrary/milestones/2.3","labels_url":"https://api.github.com/repos/spooning/SeleniumLibrary/milestones/8/labels","id":1257897,"number":8,"title":"2.3","description":null,"creator":{"login":"spooning","id":1658993,"avatar_url":"https://avatars.githubusercontent.com/u/1658993?v=3","gravatar_id":"","url":"https://api.github.com/users/spooning","html_url":"https://github.com/spooning","followers_url":"https://api.github.com/users/spooning/followers","following_url":"https://api.github.com/users/spooning/following{/other_user}","gists_url":"https://api.github.com/users/spooning/gists{/gist_id}","starred_url":"https://api.github.com/users/spooning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooning/subscriptions","organizations_url":"https://api.github.com/users/spooning/orgs","repos_url":"https://api.github.com/users/spooning/repos","events_url":"https://api.github.com/users/spooning/events{/privacy}","received_events_url":"https://api.github.com/users/spooning/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":15,"state":"open","created_at":"2015-08-17T09:29:30Z","updated_at":"2015-08-17T10:18:02Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-17T10:18:02Z","updated_at":"2015-08-17T10:18:29Z","closed_at":null,"body":"> *Originally submitted to [Google Code](http://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=79) by kai.hackemesser on 26 Jan 2010*\n\n\nI'm not sure if this is an issue of the selenium\r\nlibrary or selenium itself. Could even be Jython.\r\n\r\nWe have a robot test suite which has grown a lot. somewhere in the middle\r\nof the run I get a javs.net.SocketException because no connections are\r\navailable any more. I used Process Explorer to trace the problem and I\r\nfound that the Jython process opens thousands of connections to port 4444\r\n(Selenium Server). Many of them are in CLOSE_WAIT state, maybe 50 are\r\nESTABLISHED. Our suite is set up to open the the Browser only once in the\r\noverall suite setup, and it will close it in the  suite teardown.\r\n \r\nSo why is the robot creating so many connections to port 4444?\r\n\r\nWe are using the latest release of robot framework (2.1.2), robot selenium\r\nlibrary (2.2.2), jython (2.5.1)\r\n\r\n(this was posted previously in\r\n<a href=\"https://code.google.com/p/robotframework/issues/detail?id=462\" rel=\"nofollow\">https://code.google.com/p/robotframework/issues/detail?id=462</a> )\r\n\n\n"},"comment":{"url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/comments/131767564","html_url":"https://github.com/spooning/SeleniumLibrary/issues/79#issuecomment-131767564","issue_url":"https://api.github.com/repos/spooning/SeleniumLibrary/issues/79","id":131767564,"user":{"login":"spooning","id":1658993,"avatar_url":"https://avatars.githubusercontent.com/u/1658993?v=3","gravatar_id":"","url":"https://api.github.com/users/spooning","html_url":"https://github.com/spooning","followers_url":"https://api.github.com/users/spooning/followers","following_url":"https://api.github.com/users/spooning/following{/other_user}","gists_url":"https://api.github.com/users/spooning/gists{/gist_id}","starred_url":"https://api.github.com/users/spooning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spooning/subscriptions","organizations_url":"https://api.github.com/users/spooning/orgs","repos_url":"https://api.github.com/users/spooning/repos","events_url":"https://api.github.com/users/spooning/events{/privacy}","received_events_url":"https://api.github.com/users/spooning/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T10:18:29Z","updated_at":"2015-08-17T10:18:29Z","body":"> *Originally submitted to [Google Code](http://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=79#c5) by kai.hackemesser on 1 Feb 2010*\n\n\nI did a test run on pybot now (limited as I had to remove some keywords), and it\r\nlooks ok there, so the problem is somewhere between jybot and selenium server.\n\n"}}