NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/48862: Asterisk goes to 100% CPU load when dnsmgr is active



The following reply was made to PR port-amd64/48862; it has been noted by GNATS.

From: Lars Schotte <lars%gustik.eu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-amd64/48862: Asterisk goes to 100% CPU load when dnsmgr is
 active
Date: Sun, 1 Jun 2014 22:46:51 +0200

 I just tested it on NetBSD-5 to rule out 64-bit time_t, no,
 NetBSD-5 shows the same problem, goes to 100% right after enabeling
 dnsmgr as well.
 
 On Sun,  1 Jun 2014 20:15:00 +0000 (UTC)
 lars%gustik.eu@localhost wrote:
 
 > >Number:         48862
 > >Category:       port-amd64
 > >Synopsis:       Asterisk goes to 100% CPU load when dnsmgr is active
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    port-amd64-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sun Jun 01 20:15:00 +0000 2014
 > >Originator:     Lars Schotte
 > >Release:        6.1.4
 > >Organization:
 > >Environment:
 > NetBSD dyno 6.1.4 NetBSD 6.1.4 (GENERIC) amd64
 > >Description:
 > When I turn on dnsmgr in dnsmgr.conf to asterisk, then asterisk goes
 > crazy and eats up all CPU. The machine is not bare-metal, it is a KVM
 > virtualized with VirtIO drivers, so maybe it is some timing problem,
 > but I would not rely on that. It is possible that this bug is
 > reporduceable on real hardware as well. I have several machines
 > running Asterisk, on MIPS routers and on ARM devices, and dnsmgr
 > works there well. So I suppose it may be a NetBSD specific problem.
 > Apart from eating up 100% CPU time, it actually works. So the issue
 > looks to me something like busy waiting.
 > >How-To-Repeat:
 > When I turn on dnsmgr in dnsmgr.conf to asterisk, then asterisk goes
 > crazy and eats up all CPU.
 > >Fix:
 > Never turn on dnsmgr in dnsmgr.conf to asterisk, it's the default
 > anyway. But when someone needs this, for example when some peers are
 > behind dynamic IPv4 addresses and are not configured to register,
 > instead they just use dyndns service and connection works, because
 > port forwarding is set properly, then one would loose a functionality.
 > 
 
 
 -- 
 Lars Schotte @ hana.gusto
 Linux 3.14.4-200.fc20.x86_64
 Claws Mail version 3.10.0
 


Home | Main Index | Thread Index | Old Index