<div dir="ltr"><div><br></div>Postgresql 14.12<div><br><div><font face="monospace">$ pgpool --version<br>pgpool-II version 4.5.2 (hotooriboshi)<br><br>$ psql -p9999 -c "pgpool show all;" | grep -E 'process_management|spare_children' | cut -c1-55<br> process_management_strategy                | gentle<br> process_management_mode                    | dynamic<br> min_spare_children                         | 5<br> max_spare_children                         | 10<br></font></div><div><br></div><div>Attached is a text file showing two queries against pg_stat_activity, about 20 minutes apart.</div><div>The oldest idle connections (pids 1244035 through 1244035 in the text file) haven't been dropped, even though they've been idle for more than an hour, and other, younger connections were dropped.<br></div></div><div><br></div><div>I'd have expected an LRU algorithm, but apparently not.</div><div><br></div></div>