[Dnsmasq-discuss] DNSMasq stops working and runs at 100%

Simon Kelley simon at thekelleys.org.uk
Tue Jun 3 21:25:24 UTC 2014


On 03/06/14 21:04, Matthias Andree wrote:
> Am 03.06.2014 19:20, schrieb Conrad Kostecki:
>> 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?
> 
> Can you recompile with debug info, provoke the bug, then attach a
> debugger (GDB) and obtain a stack backtrace?
> 
> To obtain the trace, run (replace /path/to by /usr/local/sbin or
> wherever it ends up in Gentoo):
> 
> 	gdb /path/to/dnsmasq $(pidof dnsmasq)
> 
> Wait until GDB has started
> 
> then type:
> 
> 	backtrace full
> 
> 

Doing this would be very useful.


It's worth saying that the 100% CPU bug fixed in 2.71 really does
require the cachesize to be zero for it to occur, so you seem to have
discovered a new, different bug., since you're not setting cachesize to
zero.


Cheers,

Simon.






More information about the Dnsmasq-discuss mailing list