sampler
sampler copied to clipboard
warning 'fork/exec /bin/sh: too many open files'
The config file try to get CPU info from multiple server.
sample: ssh <name>@<ip> "ps --no-headers -A -o %cpu | awk '{ s+=\$1 } END {print s}'"
It's sometimes display ok, and some time there is warning display as below
SAMPLING FAILURE
fork/exec /bin/sh: too many open files
facing this issue too in a dashboard with 21 items that have been running for several hours on a raspberry pi
the sampling commands are all only using cat, sampling at the rate of 1000ms .. increasing ulimits -n to 15k does not help