On Tuesday 04 March 2003 08.21, Niti Lohwithee wrote:
> Dear all
>
>       I have plan to use squid2.5 stable1 with Redhat 7.2. Before I
> config squid,I specify file descriptor using ulimit as following.
>
>       ulimit -u ulimited
>       ulimit -n 150000
>
> The result is
>
> core file size (blocks)     0
> data seg size (kbytes)      unlimited
> file size (blocks)          unlimited
> max locked memory (kbytes)  unlimited
> max memory size (kbytes)    unlimited
> open files                  150000
> pipe size (512 bytes)       8
> stack size (kbytes)         8192
> cpu time (seconds)          unlimited
> max user processes          unlimited
> virtual memory (kbytes)     unlimited
>
> While I config squid, I found some message as below
>
>       checking Default FD_SETSIZE value... 1024
>       checking Maximum number of filedescriptors we can open... 32768
>
>
> Why FD_SETSIZE have value = 1024 ?


Because this is how Linux glibc defines it in the system headers. 
Squid-2.5 later redefines this if possible (depends on glibc 
version).

Regards
Henrik

Reply via email to