Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2007 16:36:21 -0400
From:      "Dave" <dmehler26@woh.rr.com>
To:        <freebsd-questions@freebsd.org>
Subject:   optimizing squid and freebsd
Message-ID:  <004901c7680a$c24238f0$0200a8c0@satellite>

next in thread | raw e-mail | index | archive | help
Hello,
    Running squid on a 6.x box. I'm going to implement digest user 
authentication, and want to ensure squid is running optimally. Googling and 
reading "Squid the Definitive Guide" by Oreilly indicates that the file 
descriptors should be raised. I did a

sysctl -a|grep maxfiles

and found a value of 1440. It was suggested to increase this to 8192, which 
i did. I then found entries in /etc/login.conf that make me wonder if this 
change was necessary. All of these are set to unlimited in the default 
option: datasize, stacksize, memoryuse, filesize and openfiles (one of these 
the descriptors), maxproc, and Given this do i have to add an
options maxfiles=8192
in my kernel config file? Any other suggestions welcome.
Thanks.
Dave.
sbsize. 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004901c7680a$c24238f0$0200a8c0>