Jesús Cea Avión added the comment: I agree with Antoine. Exhausting the FDs is not the problem, the problem is the misleading error. ---------- nosy: +jcea _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18756> _______________________________________