| To: | Shaun <mailinglists@unix-scripts.com> |
|---|---|
| Subject: | Re: Too many open files tinydns? |
| From: | Charlie Brady <charlieb-dns@e-smith.com> |
| Date: | Thu, 16 Nov 2006 22:29:50 -0500 (EST) |
| Cc: | dns@list.cr.yp.to |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | gmail-djbdns@securepoint.com |
| Delivered-to: | sp.com.list@gmail.com |
| Delivered-to: | mailing list dns@list.cr.yp.to |
| In-reply-to: | <0d9201c7090d$27a35970$6701a8c0@ndciwkst01> |
| Mailing-list: | contact dns-help@list.cr.yp.to; run by ezmlm |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: i need to restart tinydns every at boot before it works, Daryl Tester |
|---|---|
| Next by Date: | Re: i need to restart tinydns every at boot before it works, W.D.McKinney |
| Previous by Thread: | Re: Too many open files tinydns?, Shaun |
| Next by Thread: | Re: Too many open files tinydns?, Shaun |
| Indexes: | [Date] [Thread] [Top] [All Lists] |