I was rotating my clickhouse password and there was a period of time during which my application didn't have the new db password, so connections were failing. At the same exact time, we saw a huge memory leak, up until the application was restarted with the correct password. Same pattern was reproduced a second time in another environment. There were corresponding logs about auth failures, presumably from ch/ecto reattempting to establish the connection. I'm 90% sure that during this time all read and write ops were disabled, so i think ecto or the driver itself was just trying to re-establish connections for the pool.

I'm not certain if this is the ch driver, ecto, or something else, so apologies if it's not in the driver. Just wanted to flag it in case anyone has intuition on the cause.
Thanks!