From owner-freebsd-questions Tue Jan 2 0:31:36 2001 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 00:31:34 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 6D52737B400 for ; Tue, 2 Jan 2001 00:31:34 -0800 (PST) Received: from sv.Go2France.com (sv.meiway.com [212.73.210.79]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id C96C96A909 for ; Tue, 2 Jan 2001 09:31:27 +0100 (CET) Message-Id: <5.0.2.1.0.20010102091810.02c59410@mail.Go2France.com> X-Sender: lconrad%Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Tue, 02 Jan 2001 09:30:14 +0100 To: freebsd-questions@freebsd.org From: Len Conrad Subject: Re: too many files open? In-Reply-To: <20010102022430.A1250@www3.pacific-pages.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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 I had this pb on a postfix mail gateway handling 175K msgs/day, 5 million messages/month, similar to the FreeBSD.org mail hubs that also run postfix. Using a GENERIC kernal, I was able to increase with systcl the kern.maxfiles and kern.maxfilesperproc sufficiently to stop the error. like 8K or 16K files. Len http://BIND8NT.MEIway.com : Binary for ISC BIND 8.2.3 T9B for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-spam mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message