On Fri, Aug 24, 2001 at 10:44:00AM -0700, mki wrote:
> Try recompiling squid *after* you have your local shell's ulimit's 
> unlimited, so that the higher limits get set by configure.
> 
> Steps:
> 1. fix up your /etc/rc.sysctl to up kern.maxfilesperproc and kern.maxfiles
> 2. ulimit -n 10000 (or if in csh/tcsh, type unlimit)
>    * you may have to force the hardlimits up as well
> 3. recompile squid (ie. rerun configure so it picks up the new values)
> 4. install squid
> 
> this should address the problems you see..  good luck..

unfortunately not.

> > is there a work-around for this, other than killing/restarting squid after
> > each reboot?

i'm thinking maybe i should stick a "ulimit -n 10000" in the rc.d/squid.sh
file.

i'll have to wait for a quiet period to test (the squid is doing some
7000 hits per minute when in production).

-- 
[ Jim Mercer        [EMAIL PROTECTED]         +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to