Problem:
we are using a sparc machine (solaris 5.4) with a lot of virtual
(exactly 55) IP-Adresses (hostname.le0:xx). If we add any more
virtual interfaces, than we can't start the in.named any more.
It is dying with the following error message:
Jul 14 11:56:48 nserver named[727]: restarted
Jul 14 11:56:48 nserver named[727]: /etc/named.boot: Too many open files
---------------------------------------------------------------------------
---------------------------------------------------------------------------
-------------
To solve the proplem: (Thanks to Glenn Satchell and spillar@.....)
Edit /etc/init.d/inetsvc and just before starting in.named add a line
to increase the number of file descriptors:
ulimit -n 128
which will give you 128 file descriptors. That should give you an
additional 64 or so over what you have now. You can go higher if you
want (upto 256 I think).
This changes the limit for that particular shell and all it's children
which includes in.named.
---------------------------------------------------------------------------
----------
Another possibility is changing the system wide defaults for the amount of
open
file descriptors. Include into the file /etc/system the following two
lines:
set rlim_fd_max=0x400
set rlim_fd_cur=0x100
This is not tested, but it sounds good.
Many thanks to all people who helped me.
Regards,
Christoph
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:58 CDT