Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2024 13:17:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278066] net-mgmt/netdata spams error log with sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory)
Message-ID:  <bug-278066-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278066
           Summary: net-mgmt/netdata spams error log with
                    sysctl(kstat.zfs.misc.arcstats.p...) failed: No such
                    file or directory (errno 2, No such file or directory)
           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: lysfjord.daniel@smokepit.net
                CC: nk@nkeor.me
             Flags: maintainer-feedback?(nk@nkeor.me)
                CC: nk@nkeor.me
 Attachment #249590 text/plain
         mime type:

Created attachment 249590
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249590&action=
=3Dedit
somewhat of a patch

Ref: https://github.com/netdata/netdata/issues/16644

Many changes was done to arcstats in
https://cgit.freebsd.org/src/commit?id=3Da8d83e2a24de6419dc58d2a7b8f3890498=
5726cb

This causes the freebsd collector plugin to trigger a log line every second
(every data collection run):

2024-03-31 15:10:58: netdata ERROR : P[freebsd] : FREEBSD:
sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (err=
no
2, No such file or directory)

The attached patch is only for systems from after the commit mentioned abov=
e,
so I guess some  logic so it's applied based on the avilability of the sysc=
tl
would be nice.

The patch seems to cause no issues, and the lines in the log has stopped.

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