From b8c57c7f5cf2c1ec7582f4d8346585034edd8566 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 4e044cf4b..9eac21f1c 100644 --- a/doc.ja/src/sgml/connection-settings.sgml +++ b/doc.ja/src/sgml/connection-settings.sgml @@ -919,11 +919,13 @@ 保持する予備(アイドル状態)の子プロセスの最大個数を指定します。 予備(アイドル状態)の子プロセス数がmax_spare_childrenを超えた場合、Pgpool-IIは余分な子プロセスを強制終了します。 + プールされた接続数が少ないものから順に強制終了の対象として選ばれます。 デフォルト値は10です。 diff --git a/doc/src/sgml/connection-settings.sgml b/doc/src/sgml/connection-settings.sgml index 34739f234..33e1ce53a 100644 --- a/doc/src/sgml/connection-settings.sgml +++ b/doc/src/sgml/connection-settings.sgml @@ -607,7 +607,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