From owner-freebsd-current Sat Jan 30 15:39:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA05814 for freebsd-current-outgoing; Sat, 30 Jan 1999 15:39:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from liquid.tpb.net (drum-n-bass.party-animals.com [194.134.94.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA05808 for ; Sat, 30 Jan 1999 15:39:05 -0800 (PST) (envelope-from niels@bakker.net) Received: from localhost (niels@localhost) by liquid.tpb.net (8.9.1a/8.8.8/Debian/GNU) with SMTP id AAA26713; Sun, 31 Jan 1999 00:38:50 +0100 Date: Sun, 31 Jan 1999 00:38:49 +0100 (CET) From: N To: Mike Tancsa cc: current@FreeBSD.ORG Subject: Re: file: table is full ? In-Reply-To: <4.1.19990130174940.05433190@granite.sentex.ca> Message-ID: <990131003356.26537A-100000@liquid.tpb.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoth Mike Tancsa: > Jan 29 21:37:05 ns3 /kernel: file: table is full > > I have maxusers set to 128 > ns3# sysctl -a | grep -i files > kern.maxfiles: 4136 > kern.maxfilesperproc: 4136 Try running `pstat -T' and see what number of file descriptors is generally in use. FYI, I've had to bump it up to 16384 on a news server; 8192 wasn't enough during peak times. I have this as /usr/local/etc/rc.d/0sysctl.sh (the 0 so it gets run first during boot, before other daemons get started):- #!/bin/sh # sysctl -w kern.maxfiles=16384 sysctl -w net.inet.tcp.always_keepalive=1 sysctl -w net.inet.tcp.keepidle=1800 You probably won't need to increase kern.maxfilesperproc; each sendmail process typically has < 10 fd's open (log, network connection, two queue files in /var/spool/mqueue, pipes to delivery agent). -- Niels. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message