I've built the kernel to use IP Aliasing and Interface Aliasing.
On the machine we have some users, mail, secondary DNS and 60+ virtual
web servers using Apache 1.0.5
We are running out of file descriptors on the machine. I noticed that
when I start /usr/sbin/named it attempts to bind to ALL the interfaces
(eth0:0, eth0:1 ... eth0:61) and runs out or file descriptors. If I
try to start the apache server after DNS is started it cannot open all
the log files and complains "Too many open files".
I have changed NR_OPEN & NR_FILES to 1024 in /usr/include/linux/??.h
Does anyone know if I've missed something? Is there a utility to
check how many files the kernel has available? Can I check how many
are open and who has them open?
-Matt
-- -Matthew S Crocker "The mask, given time, comes Crocker Communications to be the face itself." -anonymous Internet Division Phone (413) 585-5164 PO BOX 710 Fax (413) 587-3352 Greenfield, MA 01302-0710 Email matthew@crocker.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=