too many open files

Florin Andrei fandrei at mail.rds.ro
Tue May 2 10:57:23 UTC 2000


PAYKAR CHAMANI wrote:
> 
> Florin,
> 
> Looks to me you reached the maximum number of open file descriptor in
> the kernel.
> I believe the 2.2.14 kernel supports out of the box 1024 fds.
> You can fix this problem easily by increasing that number and
> recompiling the kernel.

	Ok, so can you provide me with some hints? I've tried different things,
like:

cat "16384" > /proc/sys/fs/file-max

	...or recompiling the kernel with different values in
/usr/src/linux/include/linux/limits.h

	I even tryied this:

options {
  files 1000; // Or whatever you need the limit to be
  ...
};

	Then i recompiled bind, guessing that the limit is hardcoded. :-)

	Nothing works. When bind starts, after the 500'th interface gets listened,
it starts to spit "too many open files".


	I'm using Red Hat Linux 6.2 with kernel-2.3.99pre6

-- 
Florin Andrei
mailto:florin at linuxstart.com	http://members.linuxstart.com/~florin/
tel: +40-93-261162



More information about the bind-users mailing list