From owner-freebsd-questions@FreeBSD.ORG Sat Aug 19 20:42:26 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 638D816A4E7 for ; Sat, 19 Aug 2006 20:42:26 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93AF643D7D for ; Sat, 19 Aug 2006 20:42:13 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k7JKflYw074525; Sat, 19 Aug 2006 15:41:48 -0500 (CDT) Message-Id: <6.0.0.22.2.20060819154045.02562cb8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sat, 19 Aug 2006 15:41:36 -0500 To: "Lisa Casey" , From: Derek Ragona In-Reply-To: <000501c6c3cf$044f72c0$e0891342@net> References: <000501c6c3cf$044f72c0$e0891342@net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Tuning FreeBSD 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: Sat, 19 Aug 2006 20:42:26 -0000 You can just set the value in /boot/loader.conf such as: kern.maxusers="50" and reboot -Derek At 03:35 PM 8/19/2006, Lisa Casey wrote: >Hi Folksm > >I'm getting these on a FreeBSD 5.3 box: > >Aug 19 15:46:32 radius sm-mta[12850]: k7JJk1rt012776: SYSERR(UID0): fill_fd: >disconnect: cannot open /dev/null: > Too many open files in system >Aug 19 15:46:40 radius kernel: kern.maxfiles limit exceeded by uid 0, please >see tuning(7). >Aug 19 15:46:40 radius kernel: kern.maxfiles limit exceeded by uid 0, please >see tuning(7). >Aug 19 15:46:35 radius sm-mta[12784]: k7JJk7F0012784: SYSERR(UID0): queueup: >cannot create queue file ./qfk7JJk >7F0012784, euid=0, fd=-1, fp=0x0: Too many open files in system > >I checked, and the system shows: > >radius# sysctl kern.maxfiles >kern.maxfiles: 1416 >radius# sysctl kern.maxusers >kern.maxusers: 43 > >I googled and read that kern.maxfiles is dependent upon kern.maxusers and >that I shou;d raise maxusers which I tried to do via sysctl: >radius# sysctl -w kern.maxusers=50 >sysctl: oid 'kern.maxusers' is a read only tunable >sysctl: Tunable values are set in /boot/loader.conf > >My /boot/loader.conf is a zero byte length file. > >How can I fix this too many open files problem? > >Thanks, > >Lisa Casey > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.