botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
66 stars 81 forks source link

Knex: Timeout acquiring a connection. The pool is probably full* #1611

Open arifulislamat opened 2 years ago

arifulislamat commented 2 years ago

This error occurs on a Docker Swarm mode. Botpress Server running on Node manager, however with infinite amount of loading time on the browser. But on the worker-node it just throw that error.

To Reproduce

  1. Go to: http://botpress-docs.s3-website-us-east-1.amazonaws.com/docs/infrastructure/docker/ and http://botpress-docs.s3-website-us-east-1.amazonaws.com/docs/infrastructure/cluster/

I expect it to connect scale Botpress server two 3 replicas and connect with postgreSQL and Redis ( three or one replicas ).

Screenshots:

botpress-cluster-issue

Environment (please complete the following information):

Thanks for your time to read the issues post and any help will be highly apricated.

EFF commented 2 years ago

Hey @arifulislamat Although your connection pool issue is probably not related to this, Botpress supports horizontal scaling and redis connection only with an enterprise license

KrishnaPayyavula commented 7 months ago

Hey @EFF

What are possible causes of this error ?

Due to which latency of the converse API is higher with number of requests coming in.

I am getting the same as well.

image