[Dnsmasq-discuss] CPU spin in master

Simon Kelley simon at thekelleys.org.uk
Mon Jan 4 17:19:24 GMT 2016


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

Please use test4, which fixes the problem (again!)

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)

iQIcBAEBCAAGBQJWiqmcAAoJEBXN2mrhkTWimYMQAI/P0McloHDUNTkh5Nlclb3y
nutfRAn9mIzuKZCxdEg+ZdbGyHuZZsJe/KXnXIh5Z12blcBsVQ1VJ64Y5Q62rUkg
vuxLVgvToXYfUzLJSwQqs7TJJ0jH0mydyD3rXkoCY+x76IcX0d4d47UqQYce+vs8
ppzqxIN2Wi1AuHYrpSCHU0FXUjqqs7fGL3l7RuV8Lsmw6Hz4sksNuwuG6KZkuc3P
kmQJcTcXl9Ew0aXeR66MsS0rtN7UUJo0M/DYhijhgmx8MAnGYyA0c6PjNn7BLSMq
hL1QasBPs2Urb9jYlBi+1LrBB6O5O6vLo/MlqEyQKtAsZUgPXORJeYDFVWuM6F+N
R5F/Qd1vd+6pvxgCagN2TN9Zvizev29HpO6YSpZ8zGIxuFHpWh9dQQEKnWheE0lk
4SdQWLOYrH6ge3zJC6z74MxyNasB4Hmau2Ttwl7/Bmye2rz7vqOmgx4Gfep1ZJr5
kqIDPWn8EPpjFnTR/hdxoR0S9LTHVZpHTKERVHtpJHni9P4x2LqVuAmvysWdSFDY
IP7fRRm3cVvxI+Y3a73f1uerBb/80k4fWAFg7tPTpZDD98FdduRT4zUqziYVrHuE
aKEF5iDN6QHlan3Uj/QhmAsDfjgAgDs5fQWnBa2M2QH/F8CIXefz31UcpKkr0yB1
IFYcFLCIesL4yt1srpX2
=8frm
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list