-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection leak #70
Comments
Ah @dnvriend, just noticed another issue where you suggest using HikariCP 2.3.13. Didn't work for them but maybe it will for us.... |
Did not fix it. |
FYI I increased max connections and threads and the problem has not appeared for a while. Not sure if I just pushed it back. Let's see :) |
Hi, darn the "connection leak" problem is back. This problem seems to arise when the max number of connections and threads have been set to a low setting. We came across this same problem in Issue #44 Leaking Connections. @prettynatty had this same issue and increased the queue size to 10000 and that seems to work for him. For my own projects, I set the values to:
which seems to work as well. This problems has been reported to slick Slick Issue #1492 - Slick runs out of connections during extensive streaming usage, which is related to issue Slick Issue #1274 - Slick 3.0 transactionally deadlocks that should be fixed in Slick 3.2.0, when it eventually will be released. The transactional block has been removed from the akka-persistence-jdbc plugin, since it was used for writing to the To be honest, Slick has more problems so I await the release of v3.2.0 and see if it is a better library. We will evaluate slick after the next release. |
Howdy,
I'm getting the below stack trace:
I'm using Slick 3.1.1, HikariCP 2.4.7, akka 2.4.9, h2 1.4.192.
Any advice? I don't think I'm doing anything unusual, and I don't touch slick or HikariCP directly.
Thanks!
The text was updated successfully, but these errors were encountered: