Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Nov 2020 16:15:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250929] sysutils/lsof  consumes all swap space
Message-ID:  <bug-250929-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: freebsd-bt@beatsnet.com
             Flags: maintainer-feedback?(ler@FreeBSD.org)
          Assignee: ler@FreeBSD.org

Hi,

lsof without parameters consumes swap until full.=20
System: 12.2-STABLE FreeBSD 12.2-STABLE r366130 GENERIC  amd64
lsof: rebuilt with portmaster.=20
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, w=
as
killed: out of swap space
Oct 31 05:03:03 myservername kernel: pid 2873 (lsof), jid 0, uid 0, was kil=
led:
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

--=20
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-250929-7788>