|
Today i ran into a problem where i realized one of
my servers running tinydns stopped responding to dns requests. I attached
strace to the process and this is what i found flying down the
screen...
open("data.cdb", O_RDONLY|O_NONBLOCK) =
-1 EMFILE (Too many open files) write(2, "94df4d61:308f:0cdb - 0001
<removed>"..., 39) = 39 recvfrom(4,
"\37\212\0\0\0\1\0\0\0\0\0\0\10<removed>\3com\0\0\1\0\1", 513, 0,
{sa_family=AF_INET, sin_port=htons(17118), sin_addr=inet_addr("206.135.56.98")},
[16]) =
30 time(NULL)
= 1163630773
A lsof greping data.cdb piped to wc -l shows that
tinydns has 1020 instances of data.cdb open.
[root@blue service]# lsof |grep tinydns|grep
data.cdb|wc -l 1020
is this normal? do i just need to raise my
open file limit or is there something more serious going on here?
~Shaun
|