Subject: Re: increase default for number of files descriptors per process (was
To: None <>
From: Jun-ichiro itojun Hagino <>
List: tech-userlevel
Date: 10/07/2003 12:45:57
> > 	don't forget to bump default FD_SETSIZE...
> I don't think you can change that - at least not without changing
> the major version of libc.

	you can change FD_SETSIZE without libc shlib major bump.

	man 2 select and see the following sentences:

>     kernel limit to the number of open files.  However, in order to accommo-
>     date programs which might potentially use a larger number of open files
>     with select, it is possible to increase this size within a program by
>     providing a larger definition of FD_SETSIZE before the inclusion of
>     <sys/types.h>.  The kernel will cope, and the userland libraries provided
>     with the system are also ready for large numbers of file descriptors.