MINOR: session: release a few other pools when stopping
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Nov 2014 15:46:28 +0000 (16:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Nov 2014 15:56:12 +0000 (16:56 +0100)
commit3a5e060bf6ba68c2f07288a33d9a567b8e3d0dca
treed83112870762a441db898ff81d0bc4c94f377bf3
parent396a186def6b1046ca3781f0561367433647696a
MINOR: session: release a few other pools when stopping

We currently release all pools when a proxy is stopped, except the
connection, pendconn, and pipe pools. Doing so can improve further
reduce memory usage of old processes, eventhough the connection struct
is quite small, but there are a lot and they can participate to memory
fragmentation. The pipe pool is very small and limited, and not exported
so it's not done here.
src/session.c