0
java.sql.SQLNonTransientConnectionException: Too many connections

Facing this issue very frequently. Can anyone please please help

jarlh
  • 42,561
  • 8
  • 45
  • 63
  • Does this answer your question? [HikariCP too many connections](https://stackoverflow.com/questions/27505536/hikaricp-too-many-connections) – Issam El-atif Mar 26 '20 at 21:42

1 Answers1

0
  1. It looks like your database complains that you hold too many connections open, consume even more but don't close them again.
  2. If you have the default connection pool settings of Hikari (which you should have and not specify i.e. a poolSize of 1000), this problem should basically not happen.
Marco Behler
  • 3,627
  • 2
  • 17
  • 19