You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
Relevant tools (e.g. plugins used with Snap): snap-plugin-collector-cpu , snap-plugin-publisher-influxdb_linux_x86_64
What happened:
creating task to just check cpu cores utilization % , then via cli "watch" the task, this cause snaptel process to consume 100% cpu and stop updating task watch data until ctrl-c
What you expected to happen:
..not getting a cpu util issue
I was able to reproduce this issue, both on version 1.1.0 and latest master-85079bc. Also checked some other plugins (snap-plugin-collector-smart, snap-plugin-collector-perfevents) and that the same issue exists, so it seems that it is recent Snap CLI issue. I will create issue on Snap repo.
For now, I found a workaround, to watch task use this command:
Snap daemon version (use
snapteld -v
): 1.1.0Environment:
uname -a
): 3.10.0-327.36.2.el7.x86_64What happened:
creating task to just check cpu cores utilization % , then via cli "watch" the task, this cause snaptel process to consume 100% cpu and stop updating task watch data until ctrl-c
What you expected to happen:
..not getting a cpu util issue
task config .json :
starting to watch task,,, after ~10seconds the update cli stops..
...and the snaptel process eats cpu
...still inserts into influx
The text was updated successfully, but these errors were encountered: