From owner-freebsd-questions Mon Sep 25 4: 2:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tribble.medianet.ie (tribble.medianet.ie [212.17.32.6]) by hub.freebsd.org (Postfix) with ESMTP id 2EB6637B424 for ; Mon, 25 Sep 2000 04:02:18 -0700 (PDT) Received: [from liffey.co-operation-ireland.ie (pomegranate.medianet.ie [212.17.34.180]) by tribble.medianet.ie (DIESPAM) with ESMTP id e8PB2AV16827 for ; Mon, 25 Sep 2000 12:02:11 +0100] Received: from it1 (it1 [199.107.2.129]) by liffey.co-operation-ireland.ie (8.9.3/8.9.3) with SMTP id MAA49911 for ; Mon, 25 Sep 2000 12:00:55 +0100 (IST) (envelope-from relyod@cooperationireland.org) Message-Id: <3.0.5.32.20000925120219.0083e1c0@199.107.2.1> X-Sender: relyod@199.107.2.1 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Mon, 25 Sep 2000 12:02:19 +0100 To: freebsd-questions@freebsd.org From: Mike Doyle Subject: Question about sysctl Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I need a little pointer on the use of sysctl. Background to the problem: This morning I noticed a warning on my server console "... squid[pid]: WARNING! Your cache is running out of file descriptors" Now this has never happened before. Reading the old questions/answers on the Squid website, it refered to a utility called "ulimit". But "man ulimit" on FreeBSD returns nothing. However I remembered the sysctl command, and one of the options sysctl can set/change is "kern.maxfiles" (currently 1576) Is this what I need to increase? If so, will I need to re-start the server afterwards? Or simply re-start Squid? I have never worried about this before now because the out-of-the-box configurations have "just worked" for the last three years... <>< ============================================================ ><> Michael Doyle email: relyod@co-operation-ireland.ie Network Administrator personal email: relyod@indigo.ie Co-operation Ireland http://www.co-operation-ireland.ie/ Phone: +353-1-661 0588 Fax: +353-1-661 8456 ********************************************************************* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message