From owner-freebsd-hackers Sat Dec 20 01:52:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA02722 for hackers-outgoing; Sat, 20 Dec 1997 01:52:00 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA02671 for ; Sat, 20 Dec 1997 01:51:45 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id KAA11640 for freebsd-hackers@freebsd.org; Sat, 20 Dec 1997 10:51:42 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id KAA29242; Sat, 20 Dec 1997 10:45:41 +0100 (MET) Date: Sat, 20 Dec 1997 10:45:41 +0100 (MET) Message-Id: <199712200945.KAA29242@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: Increasing maximum file descriptors (for max sockets) X-Original-Newsgroups: local.freebsd.hackers To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Brandon Gillespie 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. ;-)