From d9fd431ae59e1ef561877633150098fc045530ad Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Thu, 1 Aug 2024 13:49:48 +0900 Subject: [PATCH] Doc: Add the criteria for selecting processes to be killed to max_spare_children. --- doc.ja/src/sgml/connection-settings.sgml | 4 +++- doc/src/sgml/connection-settings.sgml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc.ja/src/sgml/connection-settings.sgml b/doc.ja/src/sgml/connection-settings.sgml index 35d148569..30941e5af 100644 --- a/doc.ja/src/sgml/connection-settings.sgml +++ b/doc.ja/src/sgml/connection-settings.sgml @@ -912,11 +912,13 @@ 保持する予備(アイドル状態)の子プロセスの最大個数を指定します。 予備(アイドル状態)の子プロセス数がmax_spare_childrenを超えた場合、Pgpool-IIは余分な子プロセスを強制終了します。 + プールされた接続数が少ないものから順に強制終了の対象として選ばれます。 デフォルト値は10です。 diff --git a/doc/src/sgml/connection-settings.sgml b/doc/src/sgml/connection-settings.sgml index af068ccec..544f6409c 100644 --- a/doc/src/sgml/connection-settings.sgml +++ b/doc/src/sgml/connection-settings.sgml @@ -603,7 +603,8 @@ Specify the maximum number of spare (idle) child processes to keep. - If the idle process count increases from max_spare_children, Pgpool-II will kill the excessive child processes. + If the idle process count increases from max_spare_children, Pgpool-II will kill the excessive child processes. + Selection criteria is to select the processes with minimum number of pooled connections. Default value is 10. -- 2.39.5