commonsearch / cosr-back

Backend of Common Search. Analyses webpages and sends them to the index.
https://about.commonsearch.org
Apache License 2.0
122 stars 24 forks source link

Too many open files in Explainer #41

Open sylvinus opened 8 years ago

sylvinus commented 8 years ago

I had to restart the Explainer which was unresponsive because of this:

Traceback (most recent call last):
  File "/cosr/back/venv/lib/python2.7/site-packages/gevent/baseserver.py", line 175, in _do_read
  File "/cosr/back/venv/lib/python2.7/site-packages/gevent/server.py", line 114, in do_read
  File "/cosr/back/venv/lib/python2.7/site-packages/gevent/_socket2.py", line 180, in accept
error: [Errno 24] Too many open files

Not sure where we could be leaking some file descriptors, of if we happened to have too many open sockets.