Re: freebsd 3.2 and squid 2.2.3

From: Clifton Royston <[email protected]>
Date: Thu, 5 Aug 1999 07:20:19 -1000 (HST)

mlowe@dataline.net.au writes:
> Hello All,
>
> I have recently tried freebsd for our proxy, and its wonderful.
>
> Except its always complaining of 'your running out of filedescriptors' when
> I check in cachemgr.cgi we have 1064 avail, and usually only about 400-500
> inuse when this error occurs.

You probably need to do an "unlimit openfiles" before starting squid to
avoid squid running into limits which the OS places on various
resources, to avoid user processes taking over the entire system. You
may also need to unlimit various memory settings. Try "man unlimit",
and figure out which of the various system limits may apply to you.

This is actually a very useful feature in the BSD family, though it can
be a nuisance to those encountering it for the first time.
  -- Clifton

-- 
 Clifton Royston  --  LavaNet Systems Architect --  cliftonr@lava.net
        "An absolute monarch would be absolutely wise and good.  
           But no man is strong enough to have no interest.  
             Therefore the best king would be Pure Chance.  
              It is Pure Chance that rules the Universe; 
          therefore, and only therefore, life is good." - AC
Received on Thu Aug 05 1999 - 11:03:30 MDT

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