Date: Wed, 19 Nov 2008 12:51:15 -0800 (PST) From: Ramesh Ayyagari <rameshayyagari@yahoo.com> To: Glen Barber <glen.j.barber@gmail.com> Cc: stable@freebsd.org Subject: Re: What would be the appropriate value for kern.maxfiles Message-ID: <974618.15901.qm@web111109.mail.gq1.yahoo.com> References: <436595.20263.qm@web111109.mail.gq1.yahoo.com> <4ad871310811181843v14e57474t8441b465dcb1ec99@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <glen.j.barber@gmail.com> To: Ramesh Ayyagari <rameshayyagari@yahoo.com> 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 <rameshayyagari@yahoo.com> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?974618.15901.qm>