pkgsrc-Bugs archive

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

pkg/43426: net/miredo loops



>Number:         43426
>Category:       pkg
>Synopsis:       net/miredo loops
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 06 18:35:00 +0000 2010
>Originator:     Andreas Gustafsson
>Release:        NetBSD 5.99.28
>Organization:
>Environment:
System: NetBSD dehum.gson.org 5.99.28 NetBSD 5.99.28 (DEHUM) #1: Sat May 1 
19:24:32 EEST 2010 
root%guru.araneus.fi@localhost:/usr/build/1090/obj/sys/arch/i386/compile/DEHUM 
i386
Architecture: i386
Machine: i386
>Description:

If I install net/miredo 1.1.7nb1 from pkgsrc and run the "miredo"
command (using the default configuration files), one of the miredo
processes enters a loop where it uses all available CPU.  Running
miredo under "ktrace -i" shows it calling readv() on a tun device
in a tight loop:

 16548      1 miredo   NAMI  "/dev/tun1"
 16548      1 miredo   RET   open 5
 [...]
 16548      5 miredo   RET   readv -1 errno 64 Host is down
 16548      5 miredo   CALL  readv(5,0xbb1efa6c,2)
 16548      5 miredo   RET   readv -1 errno 64 Host is down
 16548      5 miredo   CALL  readv(5,0xbb1efa6c,2)

This happens under both -current (5.99.28) and the 5.0.1 release.

>How-To-Repeat:

Install net/miredo 1.1.7nb1, run the command "miredo" as root, and
watch your CPU usage go to 100%.

>Fix:



Home | Main Index | Thread Index | Old Index