[Bug 270997] net-mgmt/netdata: sometimes not running when expected, sometimes running but http://localhost:19999 not responding
Date: Sun, 18 Jun 2023 21:05:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270997 --- Comment #19 from Graham Perrin <grahamperrin@freebsd.org> --- root@mowa219-gjp4-8570p-freebsd:~ # service netdata stop Stopping netdata. Waiting for PIDS: 7309 7311. root@mowa219-gjp4-8570p-freebsd:~ # pkg upgrade -f -r poudriere net-mgmt/netdata Updating poudriere repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 101 KiB 103.0kB/s 00:01 Processing entries: 100% The provides database is up-to-date. poudriere repository update completed. 399 packages processed. All repositories are up to date. Checking integrity... done (0 conflicting) The following 2 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: netdata: 1.38.1 -> 1.40.0 [poudriere] python39: 3.9.16_2 -> 3.9.17 [poudriere] Number of packages to be upgraded: 2 Proceed with this action? [y/N]: y [1/2] Upgrading python39 from 3.9.16_2 to 3.9.17... [1/2] Extracting python39-3.9.17: 100% [2/2] Upgrading netdata from 1.38.1 to 1.40.0... ===> Creating groups. Using existing group 'netdata'. ===> Creating users Using existing user 'netdata'. ===> Creating homedir(s) [2/2] Extracting netdata-1.40.0: 100% You may need to manually remove /usr/local/etc/netdata/netdata.conf if it is no longer needed. root@mowa219-gjp4-8570p-freebsd:~ # date ; service netdata start Sun Jun 18 21:45:24 BST 2023 Starting netdata. root@mowa219-gjp4-8570p-freebsd:~ # tail -n 100 /var/log/netdata/error.log | grep netdata\ ERROR 2023-06-18 21:45:33: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:34: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:35: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:36: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:37: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:38: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:39: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:40: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:41: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:42: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:43: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:44: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:45: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:46: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:47: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:48: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:49: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:50: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:51: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:52: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) 2023-06-18 21:45:53: netdata ERROR : P[freebsd] : FREEBSD: sysctl(kstat.zfs.misc.arcstats.p...) failed: No such file or directory (errno 2, No such file or directory) root@mowa219-gjp4-8570p-freebsd:~ # Logged errors aside, the web server is responsive and <localhost:19999/#menu_zfs_submenu_size;after=-864000;before=0> appears correct. ---- Re: the originally reported symptoms, > net-mgmt/netdata: sometimes not running when expected, > sometimes running but http://localhost:19999 not responding – I lean towards closing this report as overcome by events … whilst I don't recall find those symptoms in recent days, I might have (more easily) observed netdata-related processes sometimes not stopping when they should at shutdown or reboot time. I'll keep my eyes open for this. -- You are receiving this mail because: You are the assignee for the bug.