[pypy-issue] [issue878] too many open files

VYSE tracker at bugs.pypy.org
Fri Apr 11 05:23:50 CEST 2014


VYSE <VYSE at SINA.CN> added the comment:

I reproduce this by looping using httplib to request a file from local server.

Python standard library socket close func is not closing the native socket, but
assigning a dummy socket waiting for gc.

I guess increasing socket request in a short while and maybe my memory is too
large(128G) while minimark has to wait for a longer while.

Can gc detect the fd open count and try to collect if count reach the system limit?

----------
nosy: +VYSE
release:  -> 2.2

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue878>
________________________________________


More information about the pypy-issue mailing list