Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jan 2001 09:30:14 +0100
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: too many files open?
Message-ID:  <5.0.2.1.0.20010102091810.02c59410@mail.Go2France.com>
In-Reply-To: <20010102022430.A1250@www3.pacific-pages.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.0.20010102091810.02c59410>