Determine the number of file-handles left
Michael Ströder
michael at stroeder.com
Wed Apr 18 16:48:51 EDT 2001
HI!
I'm trying to run a multi-threaded HTTP demon on my ISP's system
where I only have 24 file handles.
I'm running into the situation where all file handles are grabbed by
my demon and nothing works anymore. Therefore I would like to avoid
this dead-lock situation by refusing connects if there are only a
few file-handles left.
Any idea how to determine the number of file-handles left for the
user?
Ciao, Michael.
More information about the Python-list
mailing list