pgbench-tools
pgbench-tools copied to clipboard
When running pgbench-tools in remote container getting pid kill errors
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
Is there any setting to stop this running via a config option?
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.