Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2014 04:29:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194980] New: lsof spins until killed on -CURRENT
Message-ID:  <bug-194980-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194980

            Bug ID: 194980
           Summary: lsof spins until killed on -CURRENT
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: marcus@blazingdot.com

lsof does two things that are a little strange and make it unusable.

First, it does a getdtablesize(), finds out that the process could have a max
of 233388 file descriptors open, and then attempts to close every single one,
in order. This takes time and seems like a throwback from more innocent times.

Then, it spends a large amount of time trawling through /dev/kmem reading
through some zfs-related data. It does this until it is killed.

My system:

FreeBSD sol 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r274293M: Sat Nov  8 08:39:28
PST 2014     root@sol:/usr/obj/usr/src/sys/GENERIC  amd64

Running root on zfs.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194980-13>