Date: Mon, 1 Jan 2001 23:45:43 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: David Banning <david@banning.com> Cc: questions@FreeBSD.ORG Subject: Re: too many files open? Message-ID: <20010101234543.A19572@fw.wintelcom.net> In-Reply-To: <20010102022430.A1250@www3.pacific-pages.com>; from david@www3.pacific-pages.com on Tue, Jan 02, 2001 at 02:24:31AM -0500 References: <20010102022430.A1250@www3.pacific-pages.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* David Banning <david@www3.pacific-pages.com> [010101 23:26] wrote: > All of a sudden samba stopped working. I notice the > smbd and nmdb daemons are not staying loaded. > > Here is what /var/log/messages says on boot; > > n 2 01:25:00 d named[118]: starting. named 8.2.2-P5-NOESW Mon Mar 20 20:43:5 > 4 GMT 2000 root@monster.cdrom.com:/usr/obj/usr/src/usr.sbin/named > Jan 2 01:25:00 d named[118]: limit files set to fdlimit (1024) > Jan 2 01:25:00 d named[119]: Ready to answer queries. > Jan 2 01:25:01 d /kernel: dc0: DAD complete for fe80:0001::0220:78ff:fe0e:13d6 > - no duplicates found > Jan 2 01:25:02 d lpd[144]: restarted > Jan 2 01:26:11 d syslogd: /dev/console: Too many open files in system: Too many > open files in system > Jan 2 01:26:11 d syslogd: /var/run/utmp: Too many open files in system > Jan 2 01:26:11 d syslogd: /var/run/utmp: Too many open files in system > Jan 2 01:26:11 d /kernel: file: table is full > Jan 2 01:26:14 d last message repeated 4 times > Jan 2 01:27:01 d rshd[300]: auth_pam: Permission denied > Jan 2 01:27:01 d rshd[300]: PAM authentication failed > Jan 2 01:29:01 d su: david to root on /dev/ttyp0 > > any ideas? Are the too many files linked to the fdlimit? Not that I know of. > If so should I just raise fdlimit? how? sysctl kern.maxfiles then sysctl -w kern.maxfiles=N where N is some higher number than what was returned by the first command. You might want to recompile your kernel with a higher "maxusers" setting because that will automagically scale the amount of other system structures to deal with your high load situation better. > Is this why the samba daemons won't get running? Probably :) -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010101234543.A19572>