This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-07-12
Channels
- # announcements (1)
- # babashka (8)
- # beginners (40)
- # biff (2)
- # calva (7)
- # cider (3)
- # clerk (16)
- # clojure (6)
- # clojure-europe (24)
- # clojure-madison (5)
- # clojure-nl (2)
- # clojure-norway (17)
- # clojure-uk (17)
- # clojurescript (4)
- # cursive (4)
- # datascript (17)
- # emacs (28)
- # gratitude (1)
- # humbleui (5)
- # hyperfiddle (25)
- # jobs (5)
- # lsp (3)
- # missionary (5)
- # pedestal (7)
- # polylith (7)
- # shadow-cljs (42)
- # squint (12)
- # tools-deps (9)
I deployed an application to DigitalOcean and I'm trying a managed Postgres DB. The application connects and opens 9 connections. (The maximum is 22, according to DO.)
I'm getting errors related to contention, causing my application to fail:
com.biffweb.impl.xtdb - TX failed due to contention, trying again in 174 ms...
Since traffic is zero at the moment, I'm unsure of what's going on. New app, new DB. AFAIK I'm still well under the 22-connection budget. CPU + memory look fine on the instance.
On PgAdmin I can see a lot of transactions + rollbacks (~ 40 per second of each.) Nothing in the logs, though.
Any ideas on how to debug further would be appreciated :)
huh, haven't seen that behavior before. When does this happen, on app startup? is there a stack trace?