Date: Sat, 20 Dec 1997 10:45:41 +0100 (MET) From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@freebsd.org Subject: Re: Increasing maximum file descriptors (for max sockets) Message-ID: <199712200945.KAA29242@uriah.heep.sax.de> References: <Pine.BSF.3.96.971218090019.5336A-100000@roguetrader.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Brandon Gillespie <brandon@roguetrader.com> wrote: > And so on. On first glimpse through the kernel config file I can't seem > to find anything to increase the amount of file descriptors. Where is > this done? In /sys/conf/param.c. It's: #define NPROC (20 + 16 * MAXUSERS) int maxproc = NPROC; /* maximum # of processes */ .... int maxfiles = NPROC*2; /* system wide open files limit */ So basically, bumping maxusers in your config file is the fastest way out. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712200945.KAA29242>