Fix memory RRD initialization. #14011 maybe 23.09?
-
Hello fellow Netgate community members can you please help?
This patch was also not installed in 23.05,
Has anyone else noticed this?
https://redmine.pfsense.org/issues/14011
I had to reapply this in 23.05 to resolve it after update.
I like how this removes any left over items in memory on reboots. It is nice to start fresh. Could help with protection from reboot stack overflows also.
From: jim-p <jimp@netgate.com> Date: Thu, 30 Mar 2023 08:38:27 -0400 Subject: [PATCH] Fix memory RRD initialization. Fixes #14011 --- src/etc/inc/rrd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc index 1184ace017b..a0e0600a83e 100644 --- a/src/etc/inc/rrd.inc +++ b/src/etc/inc/rrd.inc @@ -639,7 +639,7 @@ function enable_rrd_graphing() { /* enter UNKNOWN values in the RRD so it knows we rebooted. */ if (platform_booting()) { - mwexec("$rrdtool update $rrddbpath$ifname$mem N:U:U:U:U:U"); + mwexec("$rrdtool update $rrddbpath$ifname$mem N:U:U:U:U:U:U:U:U"); } /* Memory stats gathering function. */