From owner-freebsd-stable Thu Mar 28 5:18:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from server26.ilap.com (server26-main.ilap.com [216.223.128.41]) by hub.freebsd.org (Postfix) with ESMTP id 7DEB037B41A for ; Thu, 28 Mar 2002 05:18:03 -0800 (PST) Received: from horechup (server13.docucom.ca [216.223.156.13]) by server26.ilap.com (Pro-8.9.3/8.9.3/Internet Light and Power (tm) * http://ilap.com/ (tm)) with SMTP id IAA18777; Thu, 28 Mar 2002 08:18:00 -0500 (EST) Message-ID: <050e01c1d65a$c8a769a0$73f8d7a5@docucom.ca> Reply-To: "Paul Horechuk" From: "Paul Horechuk" To: "Wilko Bulte" Cc: References: <20020327212138.B9745@freebie.xs4all.nl> <20020327213259.B9923@freebie.xs4all.nl> Subject: Re: nfs_fsync: not dirty error in 4.5-RELEASE Date: Thu, 28 Mar 2002 08:16:33 -0500 Organization: DocuCom Imaging Solutions MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Wilko Bulte" To: "Bruce Campbell" Cc: "Doug White" ; Sent: March 27, 2002 3:32 PM Subject: Re: nfs_fsync: not dirty error in 4.5-RELEASE > On Wed, Mar 27, 2002 at 03:31:36PM -0500, Bruce Campbell wrote: > > > > > > > On Wed, Mar 27, 2002 at 12:06:12PM -0800, Doug White wrote: > > > > On Tue, 26 Mar 2002, Bruce Campbell wrote: > > > > > > > > > The kernel was rebuilt with "maxusers 500" > > > > > > > > Uh. > > > > > > > > maxusers >256 has always caused crashes on my system. > > > > I have maxusers of 300 and 500 on 2 other systems, which have been up 253 > > days, and 109 days. I'll try changing it back anyway, if I get any more > > panics. Thanks for the suggestion. > > > > > set maxusers to 0 and allow the kernel to autosize. > > > > I do that on most of my FreeBSD systems, but on a few, I wanted to support > > 10,000 open files, and the default chosen by the kernel with 512MB memory > > was 7312 files. I had a similar problem with the 10,000 open files, but this was samba related. What has worked for me was to set sysctl.kern.maxfiles=12000. I picked this out of the air as being > 10000, but the errors went away. maxusers is set at 0, so there seems to be a problem with the autosizing with regards to samba at least. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message