From owner-freebsd-stable@FreeBSD.ORG Sun Dec 10 16:23:02 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 074BB16A412 for ; Sun, 10 Dec 2006 16:23:02 +0000 (UTC) (envelope-from holtor@yahoo.com) Received: from web31704.mail.mud.yahoo.com (web31704.mail.mud.yahoo.com [68.142.201.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 8453943C9D for ; Sun, 10 Dec 2006 16:21:50 +0000 (GMT) (envelope-from holtor@yahoo.com) Received: (qmail 76743 invoked by uid 60001); 10 Dec 2006 16:23:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=5OkDxb9OrRYujnBur4b6CKLLiBXgvak2Dtff+E/0I9mMcEFD52CZfkk3CPrctvf8ChrRWqYi6hbY3Z3eRnxMRFh1ajTJikYg09V+18Bps/dR3GNGwyxvdP4AOSnUmFCnC0A4tj4SzYyjbrnKTOSp48wN4Yri/Irh2/LHUUJ8rbo=; X-YMail-OSG: nwN8wicVM1ln0GQRj.Q.YP9WAuC7wFRK9NmKmEbd1H6iCdRxnSc6UnVzFJzML6vYqvcoYd9zMnv8GVcLCa651xRrM5A9x5gI4CDNm4dWAJtuA29l4m4UYR6HeDH3N548lVb6WmD1ZmTilD8- Received: from [68.197.167.249] by web31704.mail.mud.yahoo.com via HTTP; Sun, 10 Dec 2006 08:23:00 PST Date: Sun, 10 Dec 2006 08:23:00 -0800 (PST) From: Holtor To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <718463.76303.qm@web31704.mail.mud.yahoo.com> X-Mailman-Approved-At: Sun, 10 Dec 2006 16:25:06 +0000 Cc: Subject: kern.ipc.nsfbufs Max Value? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 16:23:02 -0000 I have an extremely busy web server here serving mostly static html pages and images using apache 2.2.3 with sendfile enabled. It's a Dual Xeon server with 4 GB RAM and I've tweaked many sysctl variables to help the system chug along. At peak, apache is running nearly 1,500 child processes. To my question, what is the max value of kern.ipc.nsfbufs and does it depend on any other values? I had originally increased it to 32768 however sfbufs got maxed out slowing the server. Then I increased it to 65536 and currently have these results: 45348/48844/65536 sfbufs in use (current/peak/max) To me that's too close for comfort so I further tried to increase it to 131072 however with that setting the system would not boot. The kernel page faulted with an error in the swapper process until I decreased kern.ipc.nsfbufs back to 65536. Is there anyway to increase this value even higher? The server has nearly 2.5 GB of free ram out of the 4 GB installed and the load averages are very low 0.07, 0.15, 0.34 so hopefully it's possible to tweak this some more. Any ideas? Thank You, Holt G. ____________________________________________________________________________________ Need a quick answer? Get one in minutes from people who know. Ask your question on www.Answers.yahoo.com