OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: compile postfix for very small server ?

From: Alexander Kolesnikoff (akhvv.uku.com.ru)
Date: Thu Aug 07 2003 - 03:13:31 CDT


Thu Aug 7 16:06, Matthias Andree <madt.e-technik.uni-dortmund.de> wrote:
> On Thu, 07 Aug 2003, Alexander Kolesnikoff wrote:
>
> >
> > How to compile postfix for very small server ? I have FreeBSD-4.7R
> > box with 8Mb RAM. For now in the log:
> >
> > warning: could allocate space for only 163 open files
>
> Hum, you're going to get into trouble with 50 clients connecting at the
> same time, but if that's because of low RAM or low file descriptors.

    It's really very small server with no more 10 clients. ;-)

>
> I presume the kernel may have used a small file descriptor limit because
> you've got little RAM. Recompiling your kernel with a different
> MAX_USERS setting (I don't recall the exact name, it may be similar but
> not equal to the one here) may fix this warning -- if it's going to
> help, I can't say. I've never used Postfix seriously (null clients don't
> count) on machines with less than 128 MB RAM.

   I've set kern.maxfilesperproc 163 -> 512 , but without success.
 
    What if compile postfix with CCARGS=-DFD_SETSIZE=96 or it is wrong ?

 Alexander