Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-29 Thread David Joslin
Thanks Simon. In your earlier message you said you thought this is probably dhcp related. I did manage to retrieve some logs from the time of the problem and there was a great deal of dhcp happening on the network at the time. I haven't had time to go over them yet but I can see repeated dhcp

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-28 Thread Kevin Darbyshire-Bryant
On 25/04/2014 09:37, David Joslin wrote: Hi Kevin and thanks for the help. Apologies for delay in reply. Is it possible to upgrade the dnsmasq version on the router without waiting for the author of the tomato firmware to include a later version in a release of his firmware (and you mentioned

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-28 Thread Simon Kelley
Note that this bug appears to be a hard lockup. https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1313393 investigations are continuing. Simon. On 28/04/14 12:18, Kevin Darbyshire-Bryant wrote: On 25/04/2014 09:37, David Joslin wrote: Hi Kevin and thanks for the help.

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-25 Thread David Joslin
Hi Kevin and thanks for the help. Is it possible to upgrade the dnsmasq version on the router without waiting for the author of the tomato firmware to include a later version in a release of his firmware (and you mentioned that dnsmasq in tomato isn't a clean pull of Simon's release)? Why would

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-24 Thread Simon Kelley
On 22/04/14 20:04, David Joslin wrote: Hi I have an Asus rt-n16 router running the Shibby version of the Tomato firmware which includes dnsmasq version 2.69test3. It's in use in a building that frequently has 50+ users on a wireless network and dnsmasq has performed extremely well with very

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-24 Thread Rick Jones
The first thing is to try and decide which of two possible scenarios ar happening. The first is that you've triggered a bug in the code and dnsmasq is looping somewhere without ever getting back to the select() loop and doing actual work. The second is that it's getting so much work that it's

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-24 Thread David Joslin
Thanks for the reply, Simon. DNSSEC isn't enabled. I wonder if the pattern of the problem gives any clues... As I said, on a normal day with around 40-50 clients on the network there is no problem at all with dnsmasq managing to use barely 0 - 2% of the CPU. When the problem occurred there were

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-24 Thread Simon Kelley
On 24/04/14 20:41, David Joslin wrote: Thanks for the reply, Simon. DNSSEC isn't enabled. I wonder if the pattern of the problem gives any clues... As I said, on a normal day with around 40-50 clients on the network there is no problem at all with dnsmasq managing to use barely 0 - 2%

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-24 Thread Kevin Darbyshire-Bryant
On 24/04/2014 20:49, Simon Kelley wrote: On 24/04/14 20:41, David Joslin wrote: Thanks for the reply, Simon. DNSSEC isn't enabled. I wonder if the pattern of the problem gives any clues... As I said, on a normal day with around 40-50 clients on the network there is no problem at all with

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-23 Thread David Joslin
The router isn't being used for wi-fi. We have a Ubiquiti Unifi wi-fi system throughout the building. The router is just routing (and providing dns, dhcp etc). David On 23 April 2014 02:43, Weedy weedy2...@gmail.com wrote: On 22 Apr 2014 15:10, David Joslin dav...@nkcc.org.uk wrote: Hi

[Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-22 Thread David Joslin
Hi I have an Asus rt-n16 router running the Shibby version of the Tomato firmware which includes dnsmasq version 2.69test3. It's in use in a building that frequently has 50+ users on a wireless network and dnsmasq has performed extremely well with very little load on the router. However, we've

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-22 Thread Alex Xu
On 22/04/14 03:04 PM, David Joslin wrote: Hi I have an Asus rt-n16 router running the Shibby version of the Tomato firmware which includes dnsmasq version 2.69test3. It's in use in a building that frequently has 50+ users on a wireless network and dnsmasq has performed extremely well with

Re: [Dnsmasq-discuss] dnsmasq using 100% cpu on router

2014-04-22 Thread Weedy
On 22 Apr 2014 15:10, David Joslin dav...@nkcc.org.uk wrote: Hi I have an Asus rt-n16 router running the Shibby version of the Tomato firmware which includes dnsmasq version 2.69test3. It's in use in a building that frequently has 50+ users on a wireless network and dnsmasq has performed