From owner-freebsd-questions Fri Nov 30 9:17:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sln01.megadat.com (exchange.megadat.com [195.22.224.154]) by hub.freebsd.org (Postfix) with ESMTP id 71A5437B416 for ; Fri, 30 Nov 2001 09:17:27 -0800 (PST) Received: by sln01.megadat.com with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Nov 2001 19:17:18 +0200 Message-ID: <8E9035BABCA0514EB0E574B6A7082FC305308B@sln01.megadat.com> From: Girnet Vladimir To: "'questions@freebsd.org'" Subject: squid + files descriptors Date: Fri, 30 Nov 2001 19:17:18 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="koi8-r" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I have been setup absolut identically hosts with FreeBSD 4.4-RELEASE to run SQUID 2.4 on them. But on one host I got this warning: " WARNING! Your cache is running out of filedescriptors" , and squid is not working. When I compare both cache.log files I found this difference: on first machine: With 4136 file descriptors available on second machine: With 1064 file descriptors available I set up same configuration of kernel on both computers, with MAXUSERS=128, and: kern.maxvnodes: 72477 kern.maxproc: 8212 kern.maxfiles: 16424 kern.maxfilesperproc: 16424 kern.maxprocperuid: 8211 Please, help to solve this problem! Why so little file descriptors? Regards, Vladimir Girnet Network & System Engineer NOC "MOLDOVA-ON-LINE" NET mailto:vgirnet@megadat.com www.mdl.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message