Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 211229] net-mgmt/collectd5: Reading kstat value "stolen" failed

4 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Jul 19, 2016, 9:50:59 AM7/19/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

Bug ID: 211229
Summary: net-mgmt/collectd5: Reading kstat value "stolen"
failed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-p...@FreeBSD.org
Reporter: ru...@rubenkerkhof.com
CC: po...@bsdserwis.com
Flags: maintainer-feedback?(po...@bsdserwis.com)
CC: po...@bsdserwis.com

Collectd is logging this every few seconds:
Jul 19 15:23:02 stor2b collectd[801]: zfs_arc plugin: Reading kstat value
"stolen" failed.

But this statistic doesn't exist:

root@stor2b:~ # sysctl -a | grep zfs | grep stolen
root@stor2b:~ #


root@stor2b:~ # freebsd-version -uk
10.3-RELEASE-p4
10.3-RELEASE-p5

root@stor2b:~ # pkg version | grep collectd5
collectd5-5.5.1_4 =

Installed from pkg, not ports.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-p...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-b...@freebsd.org"

bugzilla...@freebsd.org

unread,
Jul 21, 2016, 4:16:29 PM7/21/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

--- Comment #1 from Krzysztof <po...@bsdserwis.com> ---
Hmm, it is strange for me. AFAIR one of the latest patches was applied to
disable "stolen" values. I don't remember which one.

OK. I've checked it out: patch from beginning of February removed collecting
stolen values.

So I think that's a question to FreeBSD developers if it is a mistake that's
collectd ties to monitor this value

bugzilla...@freebsd.org

unread,
Jul 22, 2016, 7:20:05 AM7/22/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

--- Comment #2 from Ruben Kerkhof <ru...@rubenkerkhof.com> ---
(In reply to Krzysztof from comment #1)

I see you've added the patch for 5.5.1 in https://bugs.freebsd.org/206660.

I'm sorry, but I don't understand your last question.
Your own words were "add patch for zfs_arc.c to disable
kstat.zfs.misc.arcstats.stolen"
Why do you think this is a mistake?

I think the idea is right, but for some reason it doesn't work with a binary
collectd pkg installed on 10.3.

bugzilla...@freebsd.org

unread,
Jul 22, 2016, 7:50:14 AM7/22/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

--- Comment #3 from Ruben Kerkhof <ru...@rubenkerkhof.com> ---
I just checked a 12-CURRENT system, and there the issue is gone, so at least
the patch works.

Could it be that the pkg builders are not on 10.3 yet?

bugzilla...@freebsd.org

unread,
Jul 22, 2016, 8:40:30 AM7/22/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

--- Comment #4 from Ruben Kerkhof <ru...@rubenkerkhof.com> ---
I just build a binary package on a 10.3 system with 'make package' and
installed it, and the issue is gone. So this only seems to affect the binary
collectd5 package from the FreeBSD pkg repo.

bugzilla...@freebsd.org

unread,
Jul 22, 2016, 2:27:18 PM7/22/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

--- Comment #5 from Krzysztof <po...@bsdserwis.com> ---
Yes, you are right. Writing "it is a mistake" I was meaning that binary pkg
repository (official) has a problem. Telling the truth I'm using my own
repository that's why I was suprised :-)))

So I think we can close this ticket

Greetings,

bugzilla...@freebsd.org

unread,
Jul 22, 2016, 2:53:26 PM7/22/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

--- Comment #6 from Ruben Kerkhof <ru...@rubenkerkhof.com> ---
(In reply to Krzysztof from comment #5)

Well, closing this ticket doesn't really fix the issue. Is there nothing that
can be done?

bugzilla...@freebsd.org

unread,
Aug 5, 2016, 4:48:54 PM8/5/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

Brad Davis <b...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |b...@FreeBSD.org

--- Comment #7 from Brad Davis <b...@FreeBSD.org> ---
The pkg builders run the oldest version of the branch. So in this case 10.1.

bugzilla...@freebsd.org

unread,
Aug 5, 2016, 5:14:57 PM8/5/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211229

Ruben Kerkhof <ru...@rubenkerkhof.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|New |Closed
Resolution|--- |FIXED

--- Comment #8 from Ruben Kerkhof <ru...@rubenkerkhof.com> ---
Thanks for letting me know Brad, and for providing a patch for upstream to
remove 'stolen' altogether. It will be in Collectd 5.6 due next month. By then
this issue will resolve itself.
0 new messages