[Dnsmasq-discuss] CPU spin in master

Uwe Schindler uwe at thetaphi.de
Mon Jan 4 17:07:58 GMT 2016


Hi,

I'll try. Unfortunately I have to provoke the spinning somehow. I just installed the test version, was happy, and a few minutes back it was no longer responding. TOP showed 99% CPU.

By the way, box is a VIA C7 standard x86 box (32 bits), not MIPS like Kevin's.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe at thetaphi.de


> -----Original Message-----
> From: Simon Kelley [mailto:simon at thekelleys.org.uk]
> Sent: Monday, January 04, 2016 6:04 PM
> To: Uwe Schindler <uwe at thetaphi.de>
> Cc: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] CPU spin in master
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Yes, the fix is in test3. Can you build with debug symbols
> 
> make CFLAGS=-g
> 
> 
> and run under gdb, to find where it's spinning?
> 
> 
> Cheers,
> 
> Simon
> 
> 
> On 04/01/16 17:01, Uwe Schindler wrote:
> > Hi,
> >
> > ALARM: I compiled "2.76test3" and now it is spinning with 100% CPU
> > on my box, box responds slow or not at all on DNS query. Was the
> > fix included in "test3"? I updated from 2.75 to 2.76test3 because
> > of the previously mentioned wildcard dnssec issue.
> >
> > Uwe
> >
> > ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de eMail: uwe at thetaphi.de
> >
> >
> >> -----Original Message----- From: Dnsmasq-discuss
> >> [mailto:dnsmasq-discuss- bounces at lists.thekelleys.org.uk] On
> >> Behalf Of Simon Kelley Sent: Monday, January 04, 2016 5:15 PM To:
> >> dnsmasq-discuss at lists.thekelleys.org.uk Subject: Re:
> >> [Dnsmasq-discuss] CPU spin in master
> >>
> > Think that one's fixed then :) Many thanks.
> >
> >
> > Simon.
> >
> >
> > On 03/01/16 10:42, Kevin Darbyshire-Bryant wrote:
> >>>> Router survived the night. No obvious problems noted :-)
> >>>>
> >>>> -- Cheers,
> >>>>
> >>>> Kevin Sent from my phone, apologies for brevity, spelling &
> >>>> top posting
> >>>>
> >>>>> On 2 Jan 2016, at 17:20, Kevin Darbyshire-Bryant
> >>>>> <kevin at darbyshire-bryant.me.uk> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> On 01/01/16 20:27, Simon Kelley wrote:
> >>>>>>> On 01/01/16 11:28, Kevin Darbyshire-Bryant wrote: Hi
> >>>>>>> Simon,
> >>>>>>>
> >>>>>>> So this is a pretty vague report of something lurking
> >>>>>>> in very recent code.#
> >>>>>> It's pretty good really. I stared at the ARP-caching code
> >>>>>> and found a fault in the linked list code that could
> >>>>>> introduce a cycle and create exactly the symptoms you're
> >>>>>> seeing.
> >>>>>>
> >>>>>>
> >>>>>> Git HEAD or 2.76test2 should do it. Please could you try
> >>>>>> it?
> >>>>> It's compiling as I type - will report back :-)
> >>>>>>
> >>>>>>
> >>>>>> And many thanks for testing my new code!
> >>>>> Well if we all played it safe and avoided the bleeding
> >>>>> edge stuff nothing would get spotted & fixed would it :-)
> >>>>> Someone has to try and I'd hardly regard my home router as
> >>>>> life critical (although my niece would have a different
> >>>>> opinion on that if she were visiting)
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> Kevin
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> Dnsmasq-
> > discuss
> >>>>> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
> >>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> _______________________________________________ Dnsmasq-
> > discuss
> >>>>> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
> >>>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >>
> >>
> >>>>>
> _______________________________________________
> >> Dnsmasq-discuss mailing list
> >> Dnsmasq-discuss at lists.thekelleys.org.uk
> >> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
> 
> iQIcBAEBCAAGBQJWiqX4AAoJEBXN2mrhkTWisoUP/0H9v94uMpBTdm19ySoL
> H2EV
> SWrq7uPuR7QHkJMILoyHZTLq4lk7N6SD0WkHWV9mxIZ5+J1y7PK1SSWBTAQ
> VtpKD
> xGlMfpmgEfAOk/eH1Txc3+WwRfKxXPu03DXBFLPlhQpwZSMgHZYngdP3ITlyC
> 9ob
> 41kgWUlM3z4mwe35m3GC/MKsXHF7ZYiFmpar2R+Lnwh8Q00cMFUnJs8PYbV
> yk6Ql
> uGqnrW4QnT+VemOHv2ZF6X9zWw63F2TtzJ1wzIItUC9biVn8PDpnr9ayH06UN
> Rdo
> 3Y8uHIMLp2hex28SuCpVyYPfiwbEm/44z1/Un7txx6x64Tv0AcgDscMDMQwW
> LbPZ
> VJhO05Mba9u0G/xAnu48MvvyAZo3aQ0M+n4LGUnXCI7Tv3iD1BBcKus2pqflV
> uYG
> QH4Z7aEnxfH+I+WHboPi1yY8zUcXKGlbZBAkEtJ5DMO/l5czYrz69xCrnift9Wi1
> NdqtOpj72nnNuSxfiQnBQ1FcjNR05iG4dD5Vdgash7phVPi839ipJ5NgSRFK+sG
> N
> 8/nRaOwAxluj2ZMnfVEs06fiikNa9Hjen8c3+x+DwkLVtmqHrVKeVRXleV67Rtn
> x
> uE7Xr93Cn3yPC3SsBMrsUKaZW2VAfaTCInJ7YFsFuogwbrSzDsHgxosRIPOnuS
> wF
> MSMtK6L+LnARO4qnby2o
> =DZau
> -----END PGP SIGNATURE-----




More information about the Dnsmasq-discuss mailing list