Hi!
I am running DNSMasq 2.71, compiled on Gentoo:
net-dns/dnsmasq-2.71  USE="auth-dns conntrack dhcp dhcp-tools dnssec idn ipv6 
nls tftp -dbus -lua -script (-selinux) -static"

My issue is, when my ppp-link goes down and re-establish a new connection after 
a few seconds due 24h disconnect, DNSMasq seems stop working. I can see, the 
process begins to run at 100% cpu usage and does not respond anymore. No 
DNS/DHCP/TFTP pakets are answered. The logging to /var/log also stop at that 
minute. The only solution is to killall -9 DNSMasq and restart the service 
again..

It this maybe something related to this? Changelog says, this should be fixed 
in 2.71?
  - Fix total DNS failure and 100% CPU use if cachesize set to zero,
  - regression introduced in 2.69. Thanks to James Hunt and
  - the Ubuntu crowd for assistance in fixing this.

For example, this happened tonight:
Jun 03 01:23:18 [pppd] No response to 3 echo-requests
Jun 03 01:23:18 [pppd] Serial link appears to be disconnected.
Jun 03 01:23:18 [pppd] Connect time 4413.9 minutes.
[...]
Jun 03 01:26:11 [pppd] Connect: ppp0 <--> enp11s0.7
[...]
Jun 03 01:26:11 [pppd] PAP authentication succeeded
[...]

My pppd-link goes down and re-establish.. At the same time DNSmasq stops 
working and logging, but running at 100% cpu usage:
[...]
Jun 03 01:11:39 [dnsmasq-dhcp] RTR-ADVERT(tap0) XXXX:XX:XXXX:XX7b::
Jun 03 01:12:00 [dnsmasq-dhcp] RTR-ADVERT(wlp7s0) XXXX:XX:XXXX:XX2a::
Jun 03 01:14:40 [dnsmasq-dhcp] RTR-ADVERT(enp6s0) XXXX:XX:XXXX:XX40::
Jun 03 01:17:24 [dnsmasq-dhcp] RTR-ADVERT(enp5s0) XXXX:XX:XXXX:XX17::
Jun 03 01:18:03 [dnsmasq-dhcp] RTR-ADVERT(enp10s0) XXXX:XX:XXXX:XX80::
Jun 03 01:20:10 [dnsmasq-dhcp] RTR-ADVERT(wlp7s0) XXXX:XX:XXXX:XX2a::
Jun 03 01:20:48 [dnsmasq-dhcp] RTR-ADVERT(tap0) XXXX:XX:XXXX:XX7b::
Jun 03 01:23:24 [dnsmasq-dhcp] Router-Advertisment on XXXX:XX:XXXX:XX80::, old 
prefix for enp10s0
Jun 03 01:23:24 [dnsmasq-dhcp] Router-Advertisment on XXXX:XX:XXXX:XX40::, old 
prefix for enp6s0
Jun 03 01:23:24 [dnsmasq-dhcp] Router-Advertisment on XXXX:XX:XXXX:XX17::, old 
prefix for enp5s0
Jun 03 01:23:24 [dnsmasq-dhcp] RTR-ADVERT(enp10s0) XXXX:XX:XXXX:XX80:: old 
prefix
Jun 03 01:23:24 [dnsmasq-dhcp] Router-Advertisment on XXXX:XX:XXXX:XX7b::, old 
prefix for tap0
Jun 03 01:23:24 [dnsmasq-dhcp] Router-Advertisment on XXXX:XX:XXXX:XX2a::, old 
prefix for wlp7s0
Jun 03 01:23:24 [dnsmasq-dhcp] RTR-ADVERT(tap0) XXXX:XX:XXXX:XX7b:: old prefix
Jun 03 01:23:24 [dnsmasq-dhcp] RTR-ADVERT(wlp7s0) XXXX:XX:XXXX:XX2a:: old prefix
Jun 03 01:23:24 [dnsmasq-dhcp] RTR-ADVERT(enp6s0) XXXX:XX:XXXX:XX40:: old prefix
Jun 03 01:23:24 [dnsmasq-dhcp] RTR-ADVERT(enp5s0) XXXX:XX:XXXX:XX17:: old prefix
Jun 03 01:23:29 [dnsmasq-dhcp] RTR-ADVERT(tap0) XXXX:XX:XXXX:XX7b:: old prefix
Jun 03 01:23:29 [dnsmasq-dhcp] DHCPv6, IP-Bereich XXXX:XX:XXXX:XX7b::10 -- 
XXXX:XX:XXXX:XX7b::49, Lease Time 1d, constructed for tap0
Jun 03 01:23:29 [dnsmasq-dhcp] DHCPv4-abgeleitete IPv6 Namen on 
XXXX:XX:XXXX:XX7b::, constructed for tap0
Jun 03 01:23:29 [dnsmasq-dhcp] Router-Advertisment on XXXX:XX:XXXX:XX7b::, 
constructed for tap0
Jun 03 01:23:29 [dnsmasq-dhcp] RTR-ADVERT(tap0) XXXX:XX:XXXX:XX7b::
Jun 03 01:23:29 [dnsmasq-dhcp] Router-Advertisment on XXXX:XX:XXXX:XX7b::, old 
prefix for tap0
Jun 03 01:23:29 [dnsmasq-dhcp] RTR-ADVERT(tap0) XXXX:XX:XXXX:XX7b:: old prefix
<-- At this point nothing is being logged any more.

I don't know, how to debug this problem for me? Somebody has some idea?
My config: http://pastebin.com/5vW5xCeB

Conrad

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to