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

gstatus returned non-zero exit status 16 #2

Closed
ach-nke opened this issue Jul 25, 2018 · 1 comment
Closed

gstatus returned non-zero exit status 16 #2

ach-nke opened this issue Jul 25, 2018 · 1 comment

Comments

@ach-nke
Copy link

ach-nke commented Jul 25, 2018

A couple time per hour I'm receiving this error message:

Traceback (most recent call last):
  File "/opt/scripts/zabbix-glusterfs/gstatus_discovery.py", line 7, in <module>
    gstatus_output = subprocess.check_output('gstatus -a -o json ', shell=True).decode()
  File "/usr/lib64/python3.4/subprocess.py", line 617, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command 'gstatus -a -o json ' returned non-zero exit status 16

Anyone else experiencing it?

image

@ach-nke
Copy link
Author

ach-nke commented Jul 31, 2018

I had to reduce the frequency of volume health check from 30s to 2min. Apparently gstatus was overwhelming the system with simultaneous requests.

@ach-nke ach-nke closed this as completed Jul 31, 2018
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

1 participant