pg.ddx.io pgpool-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgpool: Fix terminate_all_childrens() to not block in waitpid(). 6+ messages / 1 participants [nested] [flat]
* pgpool: Fix terminate_all_childrens() to not block in waitpid(). @ 2026-11-14 11:40 Tatsuo Ishii <ishii@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Tatsuo Ishii @ 2026-11-14 11:40 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix terminate_all_childrens() to not block in waitpid(). terminate_all_childrens() waits for child to exit using waitpid without WNOHANG option. This could hang in waitpid(). Use WNOHANG option to avoid the hang. Author: Tatsuo Ishii <ishii@postgresql.org> Backpatch-through: v4.3 Branch ------ V4_3_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=99e3852a7784b0e911ee273494f6f9f65f3f8... Modified Files -------------- src/main/pgpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix terminate_all_childrens() to not block in waitpid(). @ 2026-11-14 11:40 Tatsuo Ishii <ishii@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Tatsuo Ishii @ 2026-11-14 11:40 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix terminate_all_childrens() to not block in waitpid(). terminate_all_childrens() waits for child to exit using waitpid without WNOHANG option. This could hang in waitpid(). Use WNOHANG option to avoid the hang. Author: Tatsuo Ishii <ishii@postgresql.org> Backpatch-through: v4.3 Branch ------ V4_4_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1a20cfe49b25d2a3ea255c48eb15fb316dc4f... Modified Files -------------- src/main/pgpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix terminate_all_childrens() to not block in waitpid(). @ 2026-11-14 11:40 Tatsuo Ishii <ishii@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Tatsuo Ishii @ 2026-11-14 11:40 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix terminate_all_childrens() to not block in waitpid(). terminate_all_childrens() waits for child to exit using waitpid without WNOHANG option. This could hang in waitpid(). Use WNOHANG option to avoid the hang. Author: Tatsuo Ishii <ishii@postgresql.org> Backpatch-through: v4.3 Branch ------ V4_5_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=605e910002181d70824e83cf20e2df21ca70d... Modified Files -------------- src/main/pgpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix terminate_all_childrens() to not block in waitpid(). @ 2026-11-14 11:40 Tatsuo Ishii <ishii@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Tatsuo Ishii @ 2026-11-14 11:40 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix terminate_all_childrens() to not block in waitpid(). terminate_all_childrens() waits for child to exit using waitpid without WNOHANG option. This could hang in waitpid(). Use WNOHANG option to avoid the hang. Author: Tatsuo Ishii <ishii@postgresql.org> Backpatch-through: v4.3 Branch ------ V4_6_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=11f86ace01d8d33992d201a137151efbc116b... Modified Files -------------- src/main/pgpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix terminate_all_childrens() to not block in waitpid(). @ 2026-11-14 11:40 Tatsuo Ishii <ishii@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Tatsuo Ishii @ 2026-11-14 11:40 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix terminate_all_childrens() to not block in waitpid(). terminate_all_childrens() waits for child to exit using waitpid without WNOHANG option. This could hang in waitpid(). Use WNOHANG option to avoid the hang. Author: Tatsuo Ishii <ishii@postgresql.org> Backpatch-through: v4.3 Branch ------ V4_7_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=2f3c771731d11d66233526b6533d19bdbf49e... Modified Files -------------- src/main/pgpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix terminate_all_childrens() to not block in waitpid(). @ 2026-11-14 11:40 Tatsuo Ishii <ishii@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Tatsuo Ishii @ 2026-11-14 11:40 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org Fix terminate_all_childrens() to not block in waitpid(). terminate_all_childrens() waits for child to exit using waitpid without WNOHANG option. This could hang in waitpid(). Use WNOHANG option to avoid the hang. Author: Tatsuo Ishii <ishii@postgresql.org> Backpatch-through: v4.3 Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=8b5ca25e9a9c968d3722a954a4c9cc76dc8df... Modified Files -------------- src/main/pgpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-11-14 11:40 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-14 11:40 pgpool: Fix terminate_all_childrens() to not block in waitpid(). Tatsuo Ishii <ishii@postgresql.org> 2026-11-14 11:40 pgpool: Fix terminate_all_childrens() to not block in waitpid(). Tatsuo Ishii <ishii@postgresql.org> 2026-11-14 11:40 pgpool: Fix terminate_all_childrens() to not block in waitpid(). Tatsuo Ishii <ishii@postgresql.org> 2026-11-14 11:40 pgpool: Fix terminate_all_childrens() to not block in waitpid(). Tatsuo Ishii <ishii@postgresql.org> 2026-11-14 11:40 pgpool: Fix terminate_all_childrens() to not block in waitpid(). Tatsuo Ishii <ishii@postgresql.org> 2026-11-14 11:40 pgpool: Fix terminate_all_childrens() to not block in waitpid(). Tatsuo Ishii <ishii@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox