-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/proc/pagetypeinfo: Cannot convert '>100000' to float #1156
Comments
Interesting! Could you show the output of I suspect, that one of the fields contains the literal string |
Here is the output from one system attached here, although it happens on every system. A literal "100000" doesn't appear anywhere in the output or in the meminfo plugin anywhere. Also, "phisical" is spelled incorrectly throughout - it should be "physical" |
After taking at your data, I suspect, that the master cannot handle 64 bit integer values. At least I noticed, that around 20 values in your output are bigger than 2^32. Is the master a 32 bit host? This would help my understanding of the problem. But it should of course be fixed, even if it is a 32 bit system ...
Yes, that is an annoyance, but I am hesitant to fix this typo (being visible only in the filenames), since it would break the history for these graphs. Regarding the line in your log:
Did you notice other errors or warning just above this one? I assume, that munin should emit a warning for each problematic line. |
If there are no error messages, then please find the file
The next run of |
This is a 64-bit host running fedora33. Yes, each host which has the meminfo plugin running reports the same problems. Only the number of errors varies slightly between each host. We have not noticed any other errors or warnings related to the meminfo plugin. Here are the results for one host after making the DEBUG/WARN changes above.
|
Thanks for the result! The line errors above are probably not related to the numeric problem, but I would like to fix it anyway. Please share the output of Regarding the number conversion problem: the above |
Requested info attached. I also have the following output from the ntp_kernel_pll_freq and ntp_kernel_err plugins. None of these plugins work at all with ntp-4.2.8p15.
|
still experiencing this issue - anyone have any ideas?
|
For example the meminfo plugin emits a few fields without content (just a trailing space): slab_size_summ_Acpi.info slab_size_summ_anon.info In order to simplify plugin writing, it is acceptable to treat these input lines (with an unambiguous purpose: "no content") as valid. This reduces the log noise, e.g.: [WARNING] 18 lines had errors while 2035 lines were correct in data from ... See munin-monitoring/contrib#1156 (comment)
I took another look at the data you provided (the output of #!/bin/sh
case "${1:-fetch}" in
fetch)
cat /root/munin-meminfo.txt
;;
config)
cat /root/meminfo-config.txt
;;
esac Here on my system munin was happy to digest this input (emitting the The Thus it seems, that the same set of input leads to errors on your side and is handled without issues on my side. $ uname -a
Linux foo 5.10.0-3-amd64 #1 SMP Debian 5.10.13-1 (2021-02-06) x86_64 GNU/Linux
$ dpkg -l | grep -E "(munin|rrd)" | awk '{print($1, $2, $3)}'
ii librrd8:amd64 1.7.2-3+b7
ii librrds-perl:amd64 1.7.2-3+b7
ii munin 2.0.66-1
ii munin-async 2.0.66-1
ii munin-common 2.0.66-1
ii munin-doc 2.0.66-1
ii munin-node 2.0.66-1
ii munin-plugins-core 2.0.66-1
ii munin-plugins-extra 2.0.66-1
ii rrdtool 1.7.2-3+b7 |
Hi Lars, thanks for your help. The most obvious difference is that this is on Fedora, not Debian. Nearly the same kernel, though.
This is from the munin system on which the munin script runs. On the munin server that collects from the munin nodes:
|
Thanks for your information. Maybe you could try to delete the rrd files causing these errors and see, whether the problem appears again? |
Sadly, that didn't fix it. There also aren't any fields in /proc/pagetypeinfo greater than 100,000 that would present a problem converting to float. I do see other references to "Function I've attached my /proc/pagetypeinfo from one of the systems here. |
Stale issue message |
Hi,
I'm having an issue with what I believe is the meminfo plugin on fedora33 (although this error has been around for ever).
2020/12/14 12:15:18 [ERROR] In RRD: Error updating /var/lib/munin/bwimail03/bwimail03-pagetypeinfo-n0_zNormal_tMovable-fp_n0_zNormal_tMovable_o0-g.rrd: /var/lib/munin/bwimail03/bwimail03-pagetypeinfo-n0_zNormal_tMovable-fp_n0_zNormal_tMovable_o0-g.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '>100000' to float
Maybe it needs to be cast as a "long float" somewhere?
I believe it's with the load_pagetypeinfo function, but I haven't attempted to troubleshoot it fully.
I can paste my /proc/pagetypeinfo contents here, but it's unlikely it would format correctly. I also don't think my file is unique where it would even make a difference.
There are also many lines like this, going back for many years. I don't know if it's related or if I should open another ticket, but I also have no idea how to troubleshoot this or how to obtain more info to troubleshoot it.
2020/12/14 12:35:12 [WARNING] 20 lines had errors while 2483 lines were correct in data from 'config meminfo' on cipher/209.216.11.60/4949
There's a huge amount of output from "munin-run meminfo config" but no obvious errors.
Ideas greatly appreciated, and I'll help to provide as much info as I can.
The text was updated successfully, but these errors were encountered: