Decrease idle time on pgpool
Cette révision appartient à :
Parent
ea2d7a7165
révision
4d87ba3b3e
2 fichiers modifiés avec 3 ajouts et 1 suppressions
|
@ -62,7 +62,7 @@ max_pool = 4
|
||||||
|
|
||||||
# - Life time -
|
# - Life time -
|
||||||
|
|
||||||
child_life_time = 300
|
child_life_time = {{ child_life_time }}
|
||||||
# Pool exits after being idle for this many seconds
|
# Pool exits after being idle for this many seconds
|
||||||
child_max_connections = 0
|
child_max_connections = 0
|
||||||
# Pool exits after receiving that many connections
|
# Pool exits after receiving that many connections
|
||||||
|
|
|
@ -6,3 +6,5 @@ memqcache_total_size_byte: 10737418240
|
||||||
memqcache_maxcache_byte: 131072000
|
memqcache_maxcache_byte: 131072000
|
||||||
# Has to be bigger or equal to maxcache_byte
|
# Has to be bigger or equal to maxcache_byte
|
||||||
memqcache_cache_block_size_byte: 131072000
|
memqcache_cache_block_size_byte: 131072000
|
||||||
|
# 20 seconds idle max (application shouldn't even make idle connections)
|
||||||
|
child_life_time: 20
|
||||||
|
|
Référencer dans un nouveau ticket