[Bug 250929] sysutils/lsof consumes all swap space

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 7 16:15:41 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250929

            Bug ID: 250929
           Summary: sysutils/lsof  consumes all swap space
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler at FreeBSD.org
          Reporter: freebsd-bt at beatsnet.com
             Flags: maintainer-feedback?(ler at FreeBSD.org)
          Assignee: ler at FreeBSD.org

Hi,

lsof without parameters consumes swap until full. 
System: 12.2-STABLE FreeBSD 12.2-STABLE r366130 GENERIC  amd64
lsof: rebuilt with portmaster. 
RAM 16GB, swap increased to 32GB just for fun. Still kills other services
during periodic/weekly with its behavior.

Oct 31 05:01:59 myservername kernel: pid 5909 (mysqld), jid 0, uid 88, was
killed: out of swap space
Oct 31 05:02:09 myservername kernel: pid 33760 (mongod), jid 0, uid 975, was
killed: out of swap space
Oct 31 05:02:24 myservername kernel: pid 30034 (netdata), jid 0, uid 302, was
killed: out of swap space
Oct 31 05:03:03 myservername kernel: pid 2873 (lsof), jid 0, uid 0, was killed:
out of swap space
Oct 31 05:03:04 myservername kernel: pid 3338 (clamd), jid 0, uid 106, was
killed: out of swap space
Oct 31 05:03:05 myservername kernel: pid 51377 (named), jid 0, uid 53, was
killed: out of swap space
Nov  2 03:35:00 myservername kernel: pid 2427 (mysqld), jid 0, uid 88, was
killed: out of swap space
Nov  2 03:35:19 myservername kernel: pid 53224 (lsof), jid 0, uid 0, was
killed: out of swap space
Nov  7 04:56:36 myservername kernel: pid 2737 (netdata), jid 0, uid 302, was
killed: out of swap space
Nov  7 04:57:25 myservername kernel: pid 3179 (mongod), jid 0, uid 975, was
killed: out of swap space
Nov  7 04:57:40 myservername kernel: pid 63601 (mysqld), jid 0, uid 88, was
killed: out of swap space
Nov  7 04:57:54 myservername kernel: pid 55095 (lsof), jid 0, uid 0, was
killed: out of swap space
Nov  7 04:57:56 myservername kernel: pid 1212 (named), jid 0, uid 53, was
killed: out of swap space
Nov  7 11:34:01 myservername kernel: pid 76164 (lsof), jid 0, uid 0, was
killed: out of swap space
Nov  7 12:33:39 myservername kernel: pid 44701 (lsof), jid 0, uid 0, was
killed: out of swap space

Had occasionally some output:
lsof: WARNING: name cache hash chain too long

and maaaany syslogs like
kernel: swap_pager_getswapspace(18): failed

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


More information about the freebsd-ports-bugs mailing list