From c098b47757ada0334389088b409cae8ee285352e Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Tue, 3 Jun 2025 19:33:09 +0900 Subject: [PATCH] Doc: enhance child_life_time document. Backpatch-through: v4.2 --- doc.ja/src/sgml/connection-pooling.sgml | 2 +- doc/src/sgml/connection-pooling.sgml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc.ja/src/sgml/connection-pooling.sgml b/doc.ja/src/sgml/connection-pooling.sgml index 7f50d5679..50b7a23c6 100644 --- a/doc.ja/src/sgml/connection-pooling.sgml +++ b/doc.ja/src/sgml/connection-pooling.sgml @@ -293,7 +293,7 @@ pgbench -n -S -p 9999 -c 32 -C -S -T 300 test memory leaks and other unexpected errors in Pgpool-II children. --> - Pgpool-IIの子プロセスがアイドル状態のままでいるときに、それを強制終了するまでの時間を秒単位で指定します。 + クライアントがPgpool-IIの子プロセスに接続しないアイドル状態のままでいるときに、それを強制終了するまでの時間を秒単位で指定します。 child_life_timeにより終了された時には、すぐに新しい子プロセスがPgpool-IIにより起動されます。 child_life_timeはPgpool-II子プロセスのメモリリークやその他の不測のエラーに備えた予防措置です。 diff --git a/doc/src/sgml/connection-pooling.sgml b/doc/src/sgml/connection-pooling.sgml index 3301bd4a9..9f6a751cd 100644 --- a/doc/src/sgml/connection-pooling.sgml +++ b/doc/src/sgml/connection-pooling.sgml @@ -183,12 +183,15 @@ - Specifies the time in seconds to terminate a Pgpool-II - child process if it remains idle. The new child process + Specifies the time in seconds to terminate + a Pgpool-II + child process if it remains idle because no client is connecting to it. + The new child process is immediately spawned by Pgpool-II when it is terminated because of child_life_time. child_life_time is a measure to prevent the memory leaks and other unexpected errors in Pgpool-II + children. -- 2.39.5