From b173f5fd971132670e6d223f844794f01f98e293 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Mon, 12 Dec 2022 15:20:55 +0900 Subject: [PATCH] Downgrade "we have hit the ceiling" log. Under dynamic process management, when connection request exceeds num_init_children, pgpool keeps on logging every 2 seconds "we have hit the ceiling", which is flooding log file. So downgrade the log level from LOG to DEBUG5. --- src/main/pgpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/pgpool_main.c b/src/main/pgpool_main.c index 1fc25bd5f..acfcbd6f9 100644 --- a/src/main/pgpool_main.c +++ b/src/main/pgpool_main.c @@ -5026,7 +5026,7 @@ service_child_processes(void) new_spawn_no += pool_config->max_spare_children / 4; if (new_spawn_no + current_child_process_count > pool_config->num_init_children) { - ereport(LOG, + ereport(DEBUG5, (errmsg("we have hit the ceiling, spawning %d child(ren)", pool_config->num_init_children - current_child_process_count))); new_spawn_no = pool_config->num_init_children - current_child_process_count; -- 2.39.5