Re: Counting fds at startup

From: Dancer <dancer@dont-contact.us>
Date: Sat, 03 Oct 1998 18:51:57 +1000

Henrik Nordstrom wrote:
>
> Ian Redfern wrote:
>
> > I run several Squids on various Linux boxes, some with kernel
> > patches, some without. It would be help me greatly if I could
> > use one binary for all of them, and mean I could use an
> > off-the-shelf Squid from a distribution.
>
> You should be able to run a Squid compiled for many filedescriptors on a
> machine that don't. Squid asks the kernel for the filedescriptor limits
> on startup and if this limit is smaller that the compiled limit then the
> kernel limit are used.

I'm not actually all that confident of squid 1.1's ability to detect
this well, I'm afraid. I prefer to build from source, on the target,
which _usually_ gives the right results...it depends much on how the box
was built.

D

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d- s++: a C++++$ UL++++B+++S+++C++H++U++V+++$ P+++$ L+++ E-
W+++(--)$ N++ w++$>--- t+ 5++ X+() R+ tv b++++ DI+++ e- h-@ 
------END GEEK CODE BLOCK------
Received on Sat Oct 03 1998 - 01:54:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:19 MST