[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bind - no binfmt-0 / too many open files.



On Tue, 29 Jul 1997, ninjaz wrote:

> Jul 29 01:52:15 www modprobe: can't locate module binfmt-0
> Jul 29 01:52:15 www modprobe: can't locate module binfmt-0
> Jul 29 01:52:28 www named[20732]: starting.  named 4.9.5-REL Mon Apr 28
> 20:39:58 MET DST 1997 ^Iroot@frigg:/debian/bind/bind-4.9.5/named
> Jul 29 01:52:28 www named[20732]: fcntl(dfd, F_DUPFD, 20): Too many open
> files
> Jul 29 01:52:28 www last message repeated 14 times
> 
> Also:
> 
> # lsof | wc -l
>     852

I was suffering from the file limit when too many sendmails were
delivering queued mail.  I just accidentally deleted kernel-source-2.0.27,
so I can't easily find the hack, but I think I found a similar place to
hack it in 2.0.30:

In /usr/src/kernel-source-2.0.30/include/linux/ , here's my changed
fs.h (excerpted):

/* And dynamically-tunable limits and defaults: */
extern int max_inodes, nr_inodes;
extern int max_files, nr_files;
#define NR_INODE 98304  /* this should be bigger than NR_FILE */
#define NR_FILE 32768   /* this can well be larger on a larger system */

This was 3072 and 1024, respectively.  Kernel memory usage hasn't changed
anything drastically, and I've certainly done away with those pesky
errors.

This may or may not have anything to do with what you're experiencing,
though.

Pete

--
Peter J. Templin, Jr.                   Client Services Analyst
Computer & Communication Services       tel: (717) 524-1590
Bucknell University			templin@bucknell.edu


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: