Re: How to increat [sic.] max open files?

Richard B. Johnson (root@analogic.com)
Fri, 3 Jan 1997 08:09:14 -0500 (EST)


On 3 Jan 1997 rdm@tad.micro.umn.edu wrote:

> Richard B. Johnson:
> > I think that a task, process, program, etc., that needs more than 100
> > file handles is improperly written. Keeping that many files open at any
> > one time will cause file destruction if the system crashes.
>
> Only if the file handles refer to files.
>
> [Consider sockets, pipes, etc. For example: qmail-send's handling of
> qmail-remote, see
> ftp://koobera.math.uic.edu/pub/software/qmail-0.95.tar.gz.]
>
> --
> Raul
>
Do you really think that a single task can handle 100 sockets open to
100 clients in an efficient manner?

Now, I don't KNOW what the number is. But I do KNOW that the number is
not "N"! Having some kind of enforced limit causes one to design code
rather than just winging it.

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.20 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-