<div dir="ltr">500 instances in 500 vlans</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 21, 2015 at 3:05 AM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk" target="_blank">simon@thekelleys.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 18/11/15 12:23, green krypton wrote:<br>
> I have around 500 dnsmasq process which are configured to give ipv6,ipv4<br>
> addresses out of this some fluctuate between D and S state while others are<br>
> in continuous S state.Probably because of too many processes in D state<br>
> with "rtnetlink_rcv" in wchan its showing very high load average.<br>
><br>
><br>
> functions in stack when in D state:<br>
><br>
> [<ffffffff816360a9>] rtnetlink_rcv+0x19/0x30<br>
> [<ffffffff81653e25>] netlink_unicast+0xd5/0x1b0<br>
> [<ffffffff8165420e>] netlink_sendmsg+0x30e/0x680<br>
> [<ffffffff8160e32b>] sock_sendmsg+0x8b/0xc0<br>
> [<ffffffff8160e871>] SYSC_sendto+0x121/0x1c0<br>
> [<ffffffff8160f25e>] SyS_sendto+0xe/0x10<br>
> [<ffffffff817342dd>] system_call_fastpath+0x1a/0x1f<br>
> [<ffffffffffffffff>] 0xffffffffffffffff<br>
><br>
> but in couple of seconds it changes to S state with this in stack,all idle<br>
> process have this in stack.<br>
><br>
> [<ffffffff811d20d9>] poll_schedule_timeout+0x49/0x70<br>
> [<ffffffff811d2ac6>] do_select+0x5b6/0x780<br>
> [<ffffffff811d2e5c>] core_sys_select+0x1cc/0x2e0<br>
> [<ffffffff811d301b>] SyS_select+0xab/0x100<br>
> [<ffffffff817342dd>] system_call_fastpath+0x1a/0x1f<br>
> [<ffffffffffffffff>] 0xffffffffffffffff<br>
><br>
><br>
> interface in which dnsmasq is listening has " tentative dadfailed" inĀ "scope<br>
> global" error for ipv6 .<br>
><br>
> Not able to understand why dnsmasq that are connected to interfaces that<br>
> have "tentative dadfailed " continuously changes between S and D state<br>
> while others are idle.<br>
><br>
> attached is the strace while dnsmasq is in D state.<br>
><br>
> Any idea about this issue?<br>
><br>
><br>
<br>
</div></div>Dnsmasq polls every second whilst one or more interfaces it's listening<br>
on are still doing DAD. Once all interfaces have completed DAD,it stops<br>
polling.<br>
<br>
<br>
Are you really running 500 separate instances on dnsmasq? That's an<br>
installation which is way out of the normal way of doing things.<br>
<br>
<br>
Cheers,<br>
<br>
Simon.<br>
<br>
><br>
> _______________________________________________<br>
> Dnsmasq-discuss mailing list<br>
> <a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div><br></div>