Skip to content
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

warning 'fork/exec /bin/sh: too many open files' #93

Open
lwx5924 opened this issue Nov 5, 2020 · 1 comment
Open

warning 'fork/exec /bin/sh: too many open files' #93

lwx5924 opened this issue Nov 5, 2020 · 1 comment

Comments

@lwx5924
Copy link

lwx5924 commented Nov 5, 2020

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
@kagesenshi
Copy link

kagesenshi commented Aug 26, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants