debugging "Too many open files"

Martin v. Löwis loewis at informatik.hu-berlin.de
Thu Sep 19 13:27:53 EDT 2002


Alex Polite <m2 at plusseven.com> writes:

> > I recommend you list /proc/<pid of python program>/fd/
> Thanks. This tells me that some of my processes have a LOT of files
> open, most of them pointing to /dev/hdc. Is this normal?

Depends on what you mean by "pointing to". It is extremely rare that a
process opens /dev/hdc, since that requires superuser permissions; I
know of no case where a program opens /dev/hdc more than once.

So by "pointing to", you probably meant something else. Care to
provide precise data? What did you do, how did the computer respond,
how do you interpret this response?

Regards,
Martin



More information about the Python-list mailing list