The prefect API periodically gets very slow, and w...
# ask-community
j
The prefect API periodically gets very slow, and we are seeing these warnings in the logs:
sqlalchemy.exc.TimeoutError: QueuePool limit of size 20 overflow 40 reached, connection timed out, timeout 30.00 (Background on this error at: https://sqlalche.me/e/20/3o7r)
We are maybe running 10-20 flows at any given time so this is very strange; does anyone have experience with this? Intuitively it feels like we are not doing enough to cause such a problem but it is very disruptive. For now we increased the pool size using the configuration and that does "solve" the issue, but I was hoping we could get some advice here.