321core / STALK

stalk
3 stars 0 forks source link

[BUG] file handle leak #18

Closed 321core closed 9 years ago

321core commented 9 years ago

Traceback (most recent call last): File "/usr/share/stalk/service/talkd.py", line 108, in broadcast ret = requests.get(url, timeout=5) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 69, in get return request('get', url, params=params, _kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 50, in request response = session.request(method=method, url=url, _kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request resp = self.send(prep, _send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send r = adapter.send(request, _kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 415, in send raise ConnectionError(err, request=request) ConnectionError: ('Connection aborted.', error(24, 'Too many open files'))

321core commented 9 years ago

even if you kill a client item, stalkd process is still occupying the port.