No, sorry, even if i did grab a longer strace dump the problem started a few
minutes before i logged into this server and when i did attach strace that
message was just repeating in a endless loop. I also didnt get a log of
connections/traffic. I did do a netstat but the output was only a page
long, honesly i didnt really look at that much. tcpdump -nn showed what
looks to be a a standard amount of traffic on this server.
Box has been running for over 24 hours now with out a problem.
~Shaun
----- Original Message -----
From: "Charlie Brady" <charlieb-dns@e-smith.com>
To: "Shaun" <mailinglists@unix-scripts.com>
Cc: <dns@list.cr.yp.to>
Sent: Thursday, November 16, 2006 7:29 PM
Subject: Re: Too many open files tinydns?
On Wed, 15 Nov 2006, Shaun wrote:
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.
Do you have a full strace you can post on the web somewhere?
How many open sockets does tinydns have open?
[I doubt that it ever helps when you obfuscate data in bug reports.]
--
Charlie
|