[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: syslogd: ... : Too many open files
That did the trick, thanks! Since ulimit doesn't have a man page, would
you mind explaining what the -n switch does? I tried ulimit 256 before I
sent the message, but that didn't work.
Steven M. Bellovin wrote:
On Thu, 10 Apr 2008 20:39:45 -0400
Jason Mitchell <jmitchel%bigjar.com@localhost> wrote:
I'm attempting to set up syslogd to log messages from roughly 65
IP addresses to 65 different files. But when I attempt to run
syslogd, it complains of "Too many open files" around file #58. This
error also prevents it from opening a socket to listen on UDP port
514. I'm running NetBSD 3.1, but I've compiled the syslogd from 4.0
and the problem is there as well and there's no newer version in CVS.
I've looked at the code, but I can't tell where the limit on open
files comes from. I've tried increasing kern.maxfiles to 4000, with
It's probably a ulimit issue for syslogd. Try putting
ulimit -n 256
in /etc/rc.conf.d/syslogd and restart it.
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Main Index |
Thread Index |