Date: Sun, 31 Jan 1999 00:38:49 +0100 (CET) From: N <niels@bakker.net> To: Mike Tancsa <mike@sentex.net> Cc: current@FreeBSD.ORG Subject: Re: file: table is full ? Message-ID: <990131003356.26537A-100000@liquid.tpb.net> In-Reply-To: <4.1.19990130174940.05433190@granite.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?990131003356.26537A-100000>