[pgpool-committers: 9566] pgpool: Test: attempt to fix 001.load_balance test timeout.
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Sep 13 18:17:42 JST 2023
Test: attempt to fix 001.load_balance test timeout.
Examining the log reveals that the error was caused by bind error:
address already used. This is strange because SO_REUSEADDR flags is
set to the listening socket. I guess the cause is, the kernel is not
fast enough to clean up the socket used by previous pgpool process.
To fix this, existing CHECK_TIME_WAIT environment variable parameter
is modified so that it checks the socket by using netstat -tulpn,
rather than netstat -a, which is too slow.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=fb0800e3f0211ba833ca05cf506387e4d2a279b8
Modified Files
--------------
src/test/pgpool_setup.in | 2 +-
src/test/regression/tests/001.load_balance/test.sh | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
More information about the pgpool-committers
mailing list