Re: What would be the appropriate value for kern.maxfiles

2008-11-19 Thread Glen Barber
On Wed, Nov 19, 2008 at 3:51 PM, Ramesh Ayyagari
[EMAIL PROTECTED] wrote:
 my server primarily runs postfix experiencing very huge inflow of mails
6 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


1.) Please don't top-post.

2.) I gave you an example.  You obviously know what your server is
doing, so you need to adjust the tunable accordingly.  You can always
set the number too high, then slim it down from there after testing
to see what meets your requirements.

-- 
Glen Barber


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 [EMAIL PROTECTED]


Re: What would be the appropriate value for kern.maxfiles

2008-11-19 Thread Ramesh Ayyagari
my server primarily runs postfix experiencing very huge inflow of mails 6 
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 [EMAIL PROTECTED]
To: Ramesh Ayyagari [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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
[EMAIL PROTECTED] 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 [EMAIL PROTECTED]



  
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


What would be the appropriate value for kern.maxfiles

2008-11-18 Thread Ramesh Ayyagari
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

-Ram



  
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What would be the appropriate value for kern.maxfiles

2008-11-18 Thread Glen Barber
On Tue, Nov 18, 2008 at 6:05 PM, Ramesh Ayyagari
[EMAIL PROTECTED] 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 [EMAIL PROTECTED]