Amit Goldfarb
11/03/2021, 10:13 AMPrismaClientKnownRequestError: Timed out fetching a new connection from the connection pool. (More info: <http://pris.ly/d/connection-pool>, Current connection limit: 1)
This happened multiple times to different node processes on the same container. After closing and restarting the container this issue doesn’t reoccur.potatoxchip
11/03/2021, 10:15 AMpotatoxchip
11/03/2021, 10:15 AMJonathan
11/03/2021, 11:37 AMRyan
11/03/2021, 12:11 PMAmit Goldfarb
11/03/2021, 1:03 PMAmit
11/03/2021, 1:08 PMJonathan
11/03/2021, 1:13 PMAmit
11/03/2021, 1:21 PMJonathan
11/03/2021, 1:25 PMJonathan
11/03/2021, 1:27 PMJonathan
11/03/2021, 1:33 PMJonathan
11/03/2021, 1:33 PMAmit
11/03/2021, 1:36 PMJonathan
11/03/2021, 1:37 PMJonathan
11/03/2021, 1:38 PMRyan
11/03/2021, 1:42 PMJonathan
11/03/2021, 1:48 PMAmit
11/03/2021, 1:48 PMAmit
11/03/2021, 1:50 PMJonathan
11/03/2021, 1:53 PM*select* * *from* pg_stat_activity
and check how many connections our prisma client could have at that moment to our databaseAmit
11/03/2021, 1:56 PMJonathan
11/03/2021, 2:04 PMAmit
11/03/2021, 7:36 PMTimo
12/15/2021, 1:13 PMAmit
12/19/2021, 1:59 PMexit 1
whenever we bump into something like that, this is very high level, of course it includes error handling and specific usecases, replays, etc. But the fastest way we have found to deal with it is just destroy the entire λ container and to restart it (done automatically)Timo
12/19/2021, 3:38 PM