- Home
- Skills
- Data & Databases
- Repair Connection Pool Exhaustion
Works with the AI tools you already use
Repair Connection Pool Exhaustion
Repair leaked or long-held connections, per-request client pools, fan-out saturation, retry amplification, and cleanup gaps without guessing pool sizes.
$8.99
Repair Connection Pool Exhaustion
Example session with this skill installed
Our Node/TypeScript API uses Prisma/PostgreSQL. The pool is configured for 10 connections per instance, but each request opens a transaction, then calls two HTTP services before the transaction finishes. A bulk endpoint runs 20 items with Promise.all, and the retry wrapper can run a second transaction while the first attempt is still unwinding after timeout. Under load we get pool acquisition timeouts. Repair connection-pool exhaustion locally using Testcontainers and an intentionally small test pool. Do not connect to production, increase live pool size, change database server settings, or invent our production connection limit.
- Read your context and instructions
- Compiled the repair connection pool
Pool saturation found. Transactions hold DB connections across HTTP calls, bulk Promise.all exceeds the local pool, and retry can overlap cleanup. The repair narrows connection hold time, bounds fan-out, orders retry after release, adds tiny-pool deterministic tests, and exposes acquire/hold metrics. Production connection capacity and final pool size remain unverified.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Connection pool exhaustion is often caused by lifecycle and concurrency mistakes rather than a pool that is simply too small. Transactions may hold connections across network I/O, clients may be recreated per request, worker fan-out may exceed available connections, and retries or streaming exceptions may retain resources.
Repair Connection Pool Exhaustion gives an AI coding agent a repository workflow for tracing acquire/hold/release lifecycles, repairing client reuse and cleanup, shortening connection hold time, bounding local concurrency, fixing retry interaction, and validating behavior with intentionally small local pools.
It does not connect to production services, change live pool/server limits, kill sessions, or invent production capacity.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install