From owner-freebsd-stable@FreeBSD.ORG Wed Nov 19 21:04:11 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 2BC941065673 for ; Wed, 19 Nov 2008 21:04:11 +0000 (UTC) (envelope-from rameshayyagari@yahoo.com) Received: from n66.bullet.mail.sp1.yahoo.com (n66.bullet.mail.sp1.yahoo.com [98.136.44.50]) by mx1.freebsd.org (Postfix) with SMTP id 09D3C8FC08 for ; Wed, 19 Nov 2008 21:04:11 +0000 (UTC) (envelope-from rameshayyagari@yahoo.com) Received: from [69.147.84.145] by n66.bullet.mail.sp1.yahoo.com with NNFMP; 19 Nov 2008 20:51:17 -0000 Received: from [68.142.200.226] by t8.bullet.mail.sp1.yahoo.com with NNFMP; 19 Nov 2008 20:51:17 -0000 Received: from [68.142.201.240] by t7.bullet.mud.yahoo.com with NNFMP; 19 Nov 2008 20:51:16 -0000 Received: from [127.0.0.1] by omp401.mail.mud.yahoo.com with NNFMP; 19 Nov 2008 20:51:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 896218.77189.bm@omp401.mail.mud.yahoo.com Received: (qmail 39240 invoked by uid 60001); 19 Nov 2008 20:51:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=glsfSxzBnFg6vaS+P2bq9cVRZQPptJcttkESRCGPZn+WsW6afKApvbZqvlYGyfX/odWlNQEgZ54CGlM2g/BLzYGqgwridIGEmJ91hXyDxvCFSnXNBqWT+PaHMK8abV1fqj3ZhKyHYBqJ5koDlLgq1P56vmG9mqAsltEuZzOz/mU=; X-YMail-OSG: 8g7vn14VM1n216IXKBNv8YNlr1MGsI_PspdJ0uSWzDFFjPgVqa00AoszLqU.wNZl1v5gzfsshACxCrj.n8tixSyNmWeZiwfVY.xnWkzFGQZE.xx.mBFM2.abFmzI4ma2Levu6.QI_6ORk5Sxh_PaDxDwA2Cs Received: from [168.61.10.145] by web111109.mail.gq1.yahoo.com via HTTP; Wed, 19 Nov 2008 12:51:15 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 References: <436595.20263.qm@web111109.mail.gq1.yahoo.com> <4ad871310811181843v14e57474t8441b465dcb1ec99@mail.gmail.com> Date: Wed, 19 Nov 2008 12:51:15 -0800 (PST) From: Ramesh Ayyagari To: Glen Barber MIME-Version: 1.0 Message-ID: <974618.15901.qm@web111109.mail.gq1.yahoo.com> X-Mailman-Approved-At: Wed, 19 Nov 2008 21:11:48 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 21:04:11 -0000 my server primarily runs postfix experiencing very huge inflow of mails >60000 per hour. There are some other services that the servers runs like caching DNS etc but postfix being the primary application running on it. Ram ________________________________ From: Glen Barber To: Ramesh Ayyagari Cc: stable@freebsd.org Sent: Tuesday, November 18, 2008 6:43:56 PM Subject: Re: What would be the appropriate value for kern.maxfiles 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 _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"