error: socket: too many open file
jyoung at trytel.com
jyoung at trytel.com
Wed Sep 10 13:29:22 UTC 2008
Hi,
I am new to the forum, i didnt see if anyone else had this problem.
So here
it is.
I upgraded from BIND 9.2.4 to 9.5.0-P1 on a Solaris 10 SPARC server.
Since doing so, my log file is filling up with these.
08-Sep-2008 16:06:41.202 general: error: socket: too many open file
descriptors
08-Sep-2008 16:06:41.432 general: error: socket: too many open file
descriptors
08-Sep-2008 16:06:41.436 general: error: socket: too many open file
descriptors
08-Sep-2008 16:06:41.438 general: error: socket: too many open file
descriptors
08-Sep-2008 16:06:41.439 general: error: socket: too many open file
descriptors
08-Sep-2008 16:06:41.444 general: error: socket: too many open file
descriptors
08-Sep-2008 16:06:41.445 general: error: socket: too many open file
descriptors
08-Sep-2008 16:06:41.449 general: error: socket: too many open file
descriptors
I believe i understand the problem, i just can't seem to fix it.
The default 'open files' descriptors was 256. I up'd it to 4096.
[root at ns1-3 /var/log]# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 4096
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
Restarted Server and named, and still seeing these errors.
So I tried recompiling BIND with:
STD_CDEFINES='-DFD_SETSIZE=4096' ./configure --without-openssl
make
But still didn't work.
Using LSOF, i can see it has open 1023 UDP ports.
Any advice?
More information about the bind-users
mailing list