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

When running pgbench-tools in remote container getting pid kill errors #21

Closed
sstubbs opened this issue Oct 28, 2019 · 3 comments
Closed
Assignees

Comments

@sstubbs
Copy link

sstubbs commented Oct 28, 2019

Traceback (most recent call last):
  File "../../kill_pg", line 29, in <module>
    kill_pg(int(sys.argv[1]))
  File "../../kill_pg", line 12, in kill_pg
    pgid = os.getpgid(pid)
OSError: [Errno 3] No such process
Traceback (most recent call last):
  File "../../kill_pg", line 29, in <module>
    kill_pg(int(sys.argv[1]))
  File "../../kill_pg", line 12, in kill_pg
    pgid = os.getpgid(pid)
OSError: [Errno 3] No such process
./benchwarmer: line 254:   604 Killed                  ./timed-os-stats meminfo > results/$TEST/meminfo.log  (wd: /usr/local/lib/pgbench-tools)

Getting this error when running the benchmarks from a container thats accessing the postgres database container remotely

@sstubbs
Copy link
Author

sstubbs commented Oct 28, 2019

Is there any setting to stop this running via a config option?

@gregs1104
Copy link
Owner

There is not an option to avoid the monitoring scripts so far. Instead I've spent the last three months adding more monitoring. Since that's done now and the container case is important to many people, I'll add a config option for that before the soon upcoming release.

@gregs1104
Copy link
Owner

Did this work but forgot to update the ticket. There's a parameter named OSDATA that defaults to 1, change it to 0 and the collectors don't run.

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