NetBSD-Bugs archive

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

bin/44958: dig(9) busy-loops



>Number:         44958
>Category:       bin
>Synopsis:       dig(8) busy-loops
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 12 20:00:00 +0000 2011
>Originator:     Hauke Fath
>Release:        NetBSD 5.99.51
>Organization:
Falling Raindrops
>Environment:
        
        
System: NetBSD pizza.causeuse.org 5.99.51 NetBSD 5.99.51 (PIZZA_PF) #0: Thu May 
12 18:43:40 CEST 2011 
hf@Hochstuhl:/var/obj/netbsd-builds/developer/sparc/sys/arch/sparc/compile/PIZZA_PF
 sparc
Architecture: sparc
Machine: sparc
>Description:

        On a -current NetBSD/sparc mp installation, dig(8) busy-loops
        at 100% cpu, and has to be 'kill -9'ed. This happens
        frequently when dig is called from an ifwatchd(8) script, and
        less so when called interactively.

        I've categorized this 'bin', although it might actually be
        sparc-mp related.

% dig pizza.causeuse.org. @130.83.197.9

; <<>> DiG 9.8.0rc1 <<>> pizza.causeuse.org. @130.83.197.9
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29592
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;pizza.causeuse.org.            IN      A

;; ANSWER SECTION:
pizza.causeuse.org.     3600    IN      A       195.4.78.18

;; AUTHORITY SECTION:
causeuse.org.           3600    IN      NS      ns.causeuse.org.
causeuse.org.           3600    IN      NS      
bounce.nt.e-technik.tu-darmstadt.de.

;; ADDITIONAL SECTION:
ns.causeuse.org.        3600    IN      A       130.83.197.9
bounce.nt.e-technik.tu-darmstadt.de. 22770 IN A 130.83.197.1

;; Query time: 108 msec
;; SERVER: 130.83.197.9#53(130.83.197.9)
;; WHEN: Thu May 12 21:03:02 2011
;; MSG SIZE  rcvd: 150

load: 0.24  cmd: dig 2655 [iowait 0x4004bd4c/0] 3.94u 9.60s 47% 4380k
load: 0.30  cmd: dig 2655 [iowait 0x4004bd4c/0] 4.98u 11.64s 54% 4380k
load: 0.30  cmd: dig 2655 [iowait 0x4004bd4c/0] 5.46u 13.18s 58% 4380k
^C^C^C^C^CKilled
%

        Building external/bsd/bind with NAMED_DEBUG=1 does not work
        currently because of a missing library, so I cannot provide
        debugger information. I'll try to come up with a ktrace.

>How-To-Repeat:

        Run something like dig pizza.causeuse.org. @130.83.197.9 on -current.

>Fix:
        No idea. I'll try building with NAMED_USE_PTHREADS=no as a
        workaround.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index