Rashmi Bidanta
04/13/2020, 9:50 PMRyan
04/14/2020, 6:48 AMRashmi Bidanta
04/14/2020, 1:24 PM[DEBUG] #11: Commit
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
[DEBUG] #1: SimpleJdbcAction
/app/start.sh: line 4: 8 Killed /app/bin/prisma-prodRashmi Bidanta
04/14/2020, 1:30 PM1.28 at this momentErvin
04/14/2020, 4:42 PM/ via http) fail due to connection refused and occasionally connection timeout.
I suspect we are saturating the http connection pool, but I haven't been able to get visibility into that to confirm it. That's where I had been hopeful there were some way to expose prometheus metrics that would also communicate the connection pool state.Ervin
04/14/2020, 4:43 PMRyan
04/15/2020, 6:37 AMRashmi Bidanta
04/15/2020, 1:37 PM"exception":"java.util.concurrent.RejectedExecutionException: Task slick.basic.BasicBackend$DatabaseDef$$anon$2@6747976d rejected from slick.util.AsyncExecutor$$anon$2$$anon$1@736c10d2[Running, pool size = 9, active threads = 9, queued tasks = 1000, completed tasks = 37987088]"
I think this is how SLICK library actually works. Hence we increased the connectionLimit in our prisma-config.ymlRashmi Bidanta
04/15/2020, 1:39 PMRyan
04/15/2020, 1:55 PMHarshit
04/16/2020, 8:10 AMHarshit
04/16/2020, 8:11 AMRashmi Bidanta
04/16/2020, 1:40 PMRashmi Bidanta
04/16/2020, 1:40 PMRashmi Bidanta
04/16/2020, 1:40 PMHarshit
04/16/2020, 1:42 PMRashmi Bidanta
04/16/2020, 1:42 PMHarshit
04/16/2020, 1:42 PMHarshit
04/16/2020, 1:42 PMRashmi Bidanta
04/16/2020, 1:43 PMRashmi Bidanta
04/16/2020, 1:43 PMHarshit
04/16/2020, 1:44 PMRashmi Bidanta
04/16/2020, 1:44 PMRashmi Bidanta
04/16/2020, 1:44 PMHarshit
04/16/2020, 1:46 PMHarshit
04/16/2020, 1:46 PMRashmi Bidanta
04/16/2020, 1:46 PMRashmi Bidanta
04/16/2020, 1:49 PMRashmi Bidanta
04/16/2020, 1:50 PMRashmi Bidanta
04/17/2020, 4:55 PMHarshit
04/18/2020, 4:49 AMRashmi Bidanta
04/21/2020, 11:27 PMRashmi Bidanta
04/21/2020, 11:28 PMCreating stage prod for service app-name... !
error 21-Apr-2020 17:19:43
error 21-Apr-2020 17:19:43 ERROR: Whoops. Looks like an internal server error. Search your server logs for request ID: local:ck9aj51yf01220852j6lcdd33
error 21-Apr-2020 17:19:43
error 21-Apr-2020 17:19:43 {
error 21-Apr-2020 17:19:43 "data": {
error 21-Apr-2020 17:19:43 "addProject": null
error 21-Apr-2020 17:19:43 },
error 21-Apr-2020 17:19:43 "errors": [
error 21-Apr-2020 17:19:43 {
error 21-Apr-2020 17:19:43 "message": "Whoops. Looks like an internal server error. Search your server logs for request ID: local:ck9aj51yf01220852j6lcdd33",
error 21-Apr-2020 17:19:43 "path": [
error 21-Apr-2020 17:19:43 "addProject"
error 21-Apr-2020 17:19:43 ],
error 21-Apr-2020 17:19:43 "locations": [
error 21-Apr-2020 17:19:43 {
error 21-Apr-2020 17:19:43 "line": 2,
error 21-Apr-2020 17:19:43 "column": 9
error 21-Apr-2020 17:19:43 }
error 21-Apr-2020 17:19:43 ],
error 21-Apr-2020 17:19:43 "requestId": "local:ck9aj51yf01220852j6lcdd33"
error 21-Apr-2020 17:19:43 }
error 21-Apr-2020 17:19:43 ],
error 21-Apr-2020 17:19:43 "status": 200
error 21-Apr-2020 17:19:43 }
error 21-Apr-2020 17:19:43
error 21-Apr-2020 17:19:43 Get in touch if you need help: <https://www.prisma.io/forum/>
error 21-Apr-2020 17:19:43 To get more detailed output, run $ export DEBUG="*"
error 21-Apr-2020 17:19:43 npm ERR! code ELIFECYCLE
error 21-Apr-2020 17:19:43 npm ERR! errno 1
error 21-Apr-2020 17:19:43 npm ERR! app-name@1.0.0 prisma-deploy-force: `prisma deploy --force --no-seed`
error 21-Apr-2020 17:19:43 npm ERR! Exit status 1
error 21-Apr-2020 17:19:43 npm ERR!
error 21-Apr-2020 17:19:43 npm ERR! Failed at the app-name@1.0.0 prisma-deploy-force script.
error 21-Apr-2020 17:19:43 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.Rashmi Bidanta
04/21/2020, 11:28 PMHarshit
04/22/2020, 5:51 AMRashmi Bidanta
04/22/2020, 1:10 PMRashmi Bidanta
04/22/2020, 1:10 PMRashmi Bidanta
04/22/2020, 1:11 PMRashmi Bidanta
04/22/2020, 1:13 PMjava.util.concurrent.TimeoutException: Futures timed out after [50 seconds]Rashmi Bidanta
04/22/2020, 1:13 PMRashmi Bidanta
04/22/2020, 3:35 PM