Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Mar 2023 10:11:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270062] [PATCH] sysutils/node_exporter: fix "cannot allocate memory"
Message-ID:  <bug-270062-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 270062
           Summary: [PATCH] sysutils/node_exporter: fix "cannot allocate
                    memory"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: lapo@lapo.it
                CC: dor.bsd@xm0.uk
                CC: dor.bsd@xm0.uk
             Flags: maintainer-feedback?(dor.bsd@xm0.uk)

node_exporter-1.5.0 has a bug that spams the logs a lot with these messages
(every few seconds):

    node_exporter 1937 - - ts=3D2023-03-09T10:07:56.105Z caller=3Dcollector=
.go:169
level=3Derror msg=3D"collector failed" name=3Dmeminfo duration_seconds=3D2.=
3866e-05
err=3D"couldn't get memory: cannot allocate memory"

There is an existing fix in a PR on GitHub, it has already been included
upstream, but no release has been done yet, it would probably be nice to ha=
ve
the fix in the FreeBSD Port by locally applying the patch (it is a one-liner
patch):

https://github.com/prometheus/node_exporter/pull/2584/files

--=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-270062-7788>