pgpool / pgpool2

This is the official mirror of git://git.postgresql.org/git/pgpool2.git. Note that this is just a *mirror* - we don't work with pull requests on github. Please subscribe to pgpool-hackers mailing list from our website and submit your patch to this mailing list.
https://www.pgpool.net
Other
305 stars 87 forks source link

pgpool2 memory footprint #17

Open rafaelthca opened 5 years ago

rafaelthca commented 5 years ago

Hi,

apologies if this is the wrong place to report this.

I'm using 3.7.5. My scenario is that I have applications using pgpool and they never disconnect. Pgpool worker processes with high CPU time are consuming a lot of memory. Here is one example:

postgres  15329  4.9 13.9 1885164 1730852 ?     S    Oct11 419:56 pgpool: XXX XXX X.X.X.X(54197) idle

That machine has 12GB of ram and the process's memory keeps increasing. Is that a known behavior in pgpool and we MUST disconnect from time to time to allow pgpool to recycle the workers or can this be a memory leak?

Thanks,

Rafael.