Comment 6 for bug 13371

Revision history for this message
Matthias Klose (doko) wrote : Re: Too many file opened at one

nofiles = len(os.listdir('/proc/%d/fd/*' % getpid()))

that may be portable enough for Linux, but I'm not aware of another method.