Is there a limit to create sockets on UNIX??

Boyd Roberts boyd at necisa.ho.necisa.oz
Wed Aug 8 15:46:00 AEST 1990


In article <8307 at pitt.UUCP> jonathan at speedy.cs.pitt.edu (Jonathan Eunice) writes:
>
>The correct approach to per-process open files is indeed increasing the
>maximum, static number.  SunOS, with its 256 limit, and especially AIX
>3.1, with its 2,000 limit, have begun to move the figure above most any
>potential problem.

Sorry?  Increasing the maximum to an absurdly large value is not a
`correct approach'.  Do it properly and make it truly dynamic.

The last thing we need is a u-area with a u_ofile[2000] declaration.
How much ram will be blown away by those 2000 (struct file *)'s?

And how many programs actually require 2000 open files?  Very few.


Boyd Roberts			boyd at necisa.ho.necisa.oz.au

``When the going gets wierd, the weird turn pro...''



More information about the Comp.unix.questions mailing list