Search squid archive

Re: What is the price to pay for file descriptor ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On mån, 2007-08-13 at 10:58 +0800, Ming-Ching Tiew wrote:
> What is the price to pay for increasing the file descriptor ?

Depends a bit on your comm loop, and why you need very many
filedescriptors.

The filedescriptor limit servers two purposes

a) OS imposed limit, to avoid bringing down the machine by hitting os
total limits..

b) Load limitation, making Squid stop accepting new connections if it is
already processing too many.

'b' might risk allowing your Squid to spiral down quite far if the
number of filedescriptors is very large, much larger than you actually
need.

> Has anyone compiled squid with 50,000 file descriptor ?

Yes.. have compiled Squid with some hundreds of thousand
filedescriptors, but only for experimental purposes.

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux