Comment 3 for bug 1313393

Revision history for this message
Simon Kelley (simon-thekelleys) wrote : Re: [Bug 1313393] [NEW] dnsmasq lockup at 100% cpu

This is useful, thanks. A couple of questions:

1) Is this easily reproducible?
2) Could you tell me exactly what command-line flags dnsmasq is being
started with?

Cheers,

Simon.

On 27/04/14 18:02, Dave Gilbert wrote:
> Public bug reported:
>
> I hit a case where dnsmasq was running at 100% cpu and not responding to requests.
> This is a freshly installed and updated trusty VM which has just been dist-upgraded to utopic.
>
> At boot/login it seemed OK, but then I bought up firefox and it couldn't get to it's home page, top showed dnsmasq eating cpu.
> strace'ing dnsmasq showed it doing:
>
> select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0])
> recvmsg(0, 0x7ffffba98110, 0) = -1 ENOTSOCK (Socket operation on non-socket)
> accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket)
> select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0])
>
> constantly.
>
> fd 8 is a pipe (not sure where to - back to another thread?)
>
> This is the dnsmasq kicked off by a default network manager setup; not
> changed any networking settings.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.10
> Package: dnsmasq-base 2.70-1
> ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
> Uname: Linux 3.13.0-24-generic x86_64
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: amd64
> CurrentDesktop: Unity
> Date: Sun Apr 27 17:58:21 2014
> InstallationDate: Installed on 2014-04-27 (0 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140412)
> SourcePackage: dnsmasq
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> ** Affects: dnsmasq (Ubuntu)
> Importance: Undecided
> Status: Confirmed
>
>
> ** Tags: amd64 apport-bug utopic
>