[Dnsmasq-discuss] CPU at 100%

Christopher Moore ( Linux Epos) chris at linuxepos.com
Wed Jan 18 12:01:36 GMT 2012


Hi,

 

I'm running dnsmasq 2.59 on a few hundred  linux servers.

After anything from an hour to a few days dnsmasq will use 100% of the CPU.

 

Doing an strace on a running process I get:

 

time(NULL)                              = 1326874188
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
recvmsg(0, 0xbfb3fbb4, MSG_PEEK|MSG_TRUNC) = -1 ENOTSOCK (Socket operation on non-socket)
recvmsg(0, 0xbfb3fbb4, 0)               = -1 ENOTSOCK (Socket operation on non-socket)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
select(6, [0 3 4 5], [], [], NULL)      = 1 (in [0])

time(NULL)                              = 1326874188
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
recvmsg(0, 0xbfb3fbb4, MSG_PEEK|MSG_TRUNC) = -1 ENOTSOCK (Socket operation on non-socket)
recvmsg(0, 0xbfb3fbb4, 0)               = -1 ENOTSOCK (Socket operation on non-socket)
fcntl64(0, F_SETFL, O_RDWR|O_LARGEFILE) = 0
select(6, [0 3 4 5], [], [], NULL)      = 1 (in [0])

 

This repeats very quickly until the dnsmasq process is restarted.

Any ideas?

 

 

Regards, Chris.


_________________________________________________________________________________
Scanned by an Igaware Box - protecting computers from viruses, spam, spyware and other Internet junk.
For more information visit http://www.igaware.com/
_________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20120118/83e0ee14/attachment.html>


More information about the Dnsmasq-discuss mailing list