From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 20:35:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4956516A400 for ; Fri, 16 Mar 2007 20:35:35 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-03.ohiordc.rr.com (ms-smtp-03.ohiordc.rr.com [65.24.5.137]) by mx1.freebsd.org (Postfix) with ESMTP id 0F9C813C45A for ; Fri, 16 Mar 2007 20:35:34 +0000 (UTC) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-65-31-40-34.woh.res.rr.com [65.31.40.34]) by ms-smtp-03.ohiordc.rr.com (8.13.6/8.13.6) with SMTP id l2GKZX7b025657 for ; Fri, 16 Mar 2007 16:35:33 -0400 (EDT) Message-ID: <004901c7680a$c24238f0$0200a8c0@satellite> From: "Dave" To: Date: Fri, 16 Mar 2007 16:36:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: optimizing squid and freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 20:35:35 -0000 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.