Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 1996 15:05:47 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        dennis@etinc.com, jgreco@brasil.moneng.mei.com
Cc:        hackers@FreeBSD.org
Subject:   Re: Table is full message
Message-ID:  <199610290405.PAA25065@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>My large news servers have over 8000 :-)
>
>This is indirectly calculated from the "MAXUSERS" setting in your config
>file...  the default FreeBSD GENERIC kernel has MAXUSERS set to 10.
>
>See /sys/conf/param.c:
>
>#define NPROC (20 + 16 * MAXUSERS)
>int     maxproc = NPROC;                        /* maximum # of processes */
>int     maxprocperuid = NPROC-1;                /* maximum # of processes per user */
>int     maxfiles = NPROC*2;                     /* system wide open files limit */
>int     maxfilesperproc = NPROC*2;              /* per-process open files limit */
>
>Trivia:  there is a similar file provided under SunOS so that you may set
>these values (even though SunOS comes with its kernel 99% precompiled).

Compile time configuration is usually wrong.  In FreeBSD, it is easy to
configure these values at runtime using sysctl.  Run `sysctl -a | grep max'
to find the names of the values of interest.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610290405.PAA25065>