[pgpool-hackers: 625] child_life_time doesn't work in 3.4beta
Yugo Nagata
nagata at sraoss.co.jp
Wed Oct 29 10:55:36 JST 2014
Hello,
I found that child_life_time doesn't work in 3.4.
You can confirm this by setting child_life_time shorter (e.g. 5),
connecting to pgpool by psql and disconnecting immediately,
and then monitoring pg_stat_activity at backend. The connection
from pgpool remains even after 5 sec.
child_lief_time is checked in do_child() at child.c;
if(pool_config->chil_life_time > 0 && connected)
{
...
}
However, "connected" is always 0 at this line.
--
Yugo Nagata <nagata at sraoss.co.jp>
More information about the pgpool-hackers
mailing list