From owner-freebsd-stable@FreeBSD.ORG Wed Nov 19 03:14:06 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 440D51065670 for ; Wed, 19 Nov 2008 03:14:06 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id BD2298FC0C for ; Wed, 19 Nov 2008 03:14:05 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so3362880mue.3 for ; Tue, 18 Nov 2008 19:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=A4allmXErerdjXWkIssoakNqXVFR+IPDyz6GAJO6TFY=; b=EbAOq0M50nn2wU5sAGRMzp75LgrcsTOwcOPPg8ZdPFZvTQtxbEhhK52PBFPs2Q+VEq KH9MxRDq3yvNEISWZVWIGpo4b3kDr7ALqN4fP4TES7lyoos1CKhPAwkXwUnYIX21n/FV BNmJ7eYOu9MRGbyn+M+VGm9yrruScsvBmNCbg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=egSOa1ZeweC7S7fvcT+OYFy2MrQ5V4uFNMyR/IxJk3oMSov+wSbtNXQRGLp7V76CnH BWbuih6FQVEcXJWz+GrjLu5Y2YmjvKTIrkqwIh3rPg5zHlBxkvLK5tMexVmCVtEK2kI9 bb23iwxZR1xNJ8ZOsi+pzS3eNVNTKa/c8Hkzs= Received: by 10.103.160.10 with SMTP id m10mr203575muo.50.1227062636439; Tue, 18 Nov 2008 18:43:56 -0800 (PST) Received: by 10.103.169.16 with HTTP; Tue, 18 Nov 2008 18:43:56 -0800 (PST) Message-ID: <4ad871310811181843v14e57474t8441b465dcb1ec99@mail.gmail.com> Date: Tue, 18 Nov 2008 21:43:56 -0500 From: "Glen Barber" To: "Ramesh Ayyagari" In-Reply-To: <436595.20263.qm@web111109.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <436595.20263.qm@web111109.mail.gq1.yahoo.com> Cc: stable@freebsd.org Subject: Re: What would be the appropriate value for kern.maxfiles 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: Wed, 19 Nov 2008 03:14:06 -0000 On Tue, Nov 18, 2008 at 6:05 PM, Ramesh Ayyagari wrote: > Hello All, > > I have my client system running FreeBSD 6.3-RELEASE-p1 with 4 GB of RAM. This morning i have the following errors popping up on the console log - > > postfix/qmgr[94057]: fatal: socket: Too many open files > > Googling for this error, I found this is someway related to the kernel parameter kern.maxflies and increasing this value can have errors go away. The present value of this parameter is 24000. I also found this also depends of the RAM we have on the system. > > what would the appropriate value for kern.maxfiles for a system having 2GB RAM, a system having 4 GB and a system having 16GB of RAM. Please help > The Xorg meta-package recommends 'kern.maxfiles="25000"' for a desktop system. This is a situation where it really depends on what you're using your system for. HTH -- Glen Barber 570.328.0318 "If you have any trouble sounding condescending, find a Unix user to show you how it's done." --Scott Adams