From owner-freebsd-questions@FreeBSD.ORG Thu Jul 6 22:41:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBE7416A4DD for ; Thu, 6 Jul 2006 22:41:40 +0000 (UTC) (envelope-from wbishop@twosensemedia.com) Received: from twosensemedia.com (twosensemedia.com [69.15.36.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B56843D4C for ; Thu, 6 Jul 2006 22:41:40 +0000 (GMT) (envelope-from wbishop@twosensemedia.com) Received: from [10.0.1.8] (account wbishop HELO S0030153310) by twosensemedia.com (CommuniGate Pro SMTP 4.2.10) with ESMTP id 2117385 for freebsd-questions@freebsd.org; Thu, 06 Jul 2006 18:41:07 -0400 Message-ID: <009201c6a14d$60ffac00$0801000a@S0030153310> From: "Worth Bishop" To: Date: Thu, 6 Jul 2006 18:41:53 -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.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Unable to boost maxusers in custom kernel. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jul 2006 22:41:40 -0000 Running FreeBSD 4.3 (I know - upgrade on the way, but would like to know what's going on here for future ref), on AMD Athlon MP 1600 (1393.79-MHz 686-class CPU) with 1.5 Gb RAM. Ran up against 'too many files' problem, dropped packets, maxing out mbuf's, proc files, etc. Attempted to compile custom kernel based on GENERIC only by changing maxusers from 32 to (first) 512, then 256, then 128. No matter what, system rebooted with 32 maxusers, 4096 mbugs, 1024 max mbuf clusters, 1024 maxfiles. Can reset maxfiles via sysctl, but why won't maxusers stick? Have tried building both with: # /usr/sbin/config MYKERNEL # cd ../../comple/MYKERNEL # make depend # make # make install # reboot and with # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot No discernable error messages. What am I missing? Thanks!