Re: MYSQL 8.0.18 xdev, total connections are keeps increasing
Posted by: Filipe Silva
Date: October 15, 2021 10:54AM

Hi Subramanyam,

It seems to me you don't ever close the Client object. As such, you never really close the sessions.


Given that you are running this code under springboot, there's a chance that you aren't really creating singletons here. It depends on the ClassLoaders that are loading this class and when. Please confirm that you actually have one instance only.

Other thank this, I don't see anything fundamentally wrong.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.