On Thu, Jul 24, 2008 at 03:32:28PM -0700, JINMEI Tatuya / ?$B?@L@C#:H wrote: > At Thu, 24 Jul 2008 10:59:38 +0200, > Erwin Lansing wrote: > > > > Okay, then I'd like to know what kind of packets caused this errors. > > > Could you apply the patch available at: > > > http://www.jinmei.org/socket.c.943b2.diff > > > and have it dump the detailed version of logs? > > > > > Jul 24 10:40:42 ns named[79356]: socket.c:4259: unexpected error: > > Jul 24 10:40:42 ns named[79356]: [local:0.0.0.0#51911, dst:192.42.93.30#53, type:1] 48/Address already in use > > > > I'll send you a private mail after it's been running for a few more > > hours. > > I've found a bug that may make this happen more frequently than > expected. Could you try the attached patch? I've also copied the > patch at: > http://www.jinmei.org/patch/dispatch.c.diff > in case attachment doesn't work. > > I believe this should at least *reduce* the number of these logs. > I've also found another possible code path that can cause this > message, but fix for that would be much more complicated so I'd first > like to know how the fix for the trivial bug works. > This looks very good. Before this patch, I was seeing about 10 error per hour, after upgrading this morning I've only seen it once in 9 hours. Good catch! -erwin -- Erwin Lansing (o_ _o) http://droso.org \\\_\ /_/// The rest is silence <____) (____> erwin@lansing.dk