[Dnsmasq-discuss] CPU spin in master

Simon Kelley simon at thekelleys.org.uk
Mon Jan 4 17:10:23 GMT 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Apologies. Don't waste your time. I've managed to make git lose the
update somehow. Will get test4 fixed ASAP.


Cheers,

Simon.


On 04/01/16 17:07, Uwe Schindler wrote:
> 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
>> 
> 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)

iQIcBAEBCAAGBQJWiqd/AAoJEBXN2mrhkTWiYFEP/AoWYFbbItSysaxi7G+5AmBY
FAQA6YTaM4f+JH4qwKAv4kglhookoe/qtggey2uvRILaY2IS3u+LKFYujoZ0kkeU
xEiSdf7rQMpNmLHOaHh6VAuFclhDCOug+fmL6kgdM2Cu0Lv2O67UJNdJg5/P3e/R
wbyjU4hNVpCKNeJk25nFr0Eapb7FQjNpMYNgFx7p5dfoap8Fi9vaGUo/MNumLEB6
E4llCMJ5rbOA+JPRi6Zz7ZxGv12Dc8OsDk8qH1zr39VmNXx7po100+9PBRWz7ncE
endOLCgI18ucsaDmwo30+bO69PwbjWxO9DQdILu4J9XaYlpF08pwWeFoLmqIkZw4
nfHYUymL7CiQlrPVjMvG86BS3+XRA+6Puzktqwf4ivIJGEDrhSb1spre3lRqgfog
yWKQGlyY8y7DszWfnrdDRda4XnwccSB1S1+b/D/fD/KDVs/UJTY/2rDolFap8jgA
JNKtuJxThMuAYkCeSAUVkFGviNj7eQinkefJ4+gIUlQkmnZz+RhSuUT3fwA+CLf6
skmW8gxG0A2vG3IBA+r/bC0q53kOaLK1d5YGQhbLbM843HfMvEpYyyaiTqQRtUJQ
F6LIbaSz7BoiYatPFLF0RKiPt3IcwE//kSWnQ4n09ORn9Jud4FOOUPYK6bDHICKG
XXw9kWpUGqqxiL/JJWII
=f0l/
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list