Agent Provider Depot / Error Rescue Index (28 Traps) / sqlite-busy
platform_limittrapId: trap-sqlite-busy · asOf: 2026-10-28
SQLITE_BUSY: database is locked under Concurrent Agent Writes
Local SQLite file without WAL mode or busy_timeout fails when multiple parallel subagents write simultaneously, or ephemeral serverless disk loses state.
1. Immediate Code & SKU Fix
Replace With SKU:
turso (@libsql/client) or neon serverless PostgresInstall Command:
npm install @libsql/clientRequired Env Vars:
TURSO_DATABASE_URL, TURSO_AUTH_TOKEN// Local fix: db.exec('PRAGMA journal_mode = WAL; PRAGMA busy_timeout = 5000;');
// Cloud/multi-agent fix: use Turso (@libsql/client over HTTP) or Neon serverless Postgres2. Verified Hot-Swap Fallback Route
JTBD: edge-sqlite-agent-db
Primary: turso → Fallback: cloudflare-workers
liveHealth: outage · autoActOk: true
Want shared serverless Postgres branching — Neon
Matched Error String Signatures (3)
sqlite_busydatabase is lockedsqlite_lockedcurl -s "https://getagentdepot.com/api/rescue?q=sqlite_busy"
Browse All 28 Agent Runtime Rescue Cards
deprecated-claude-3-5-sonnetdeprecated-openai-gpt4deprecated-ada-002deprecated-google-generative-aiwrong-package-r2wrong-package-pinecone-clientwrong-package-mailgun-jsrate-limit-429provider-outage-529payment-required-402waf-bot-blocksmtp-port-25-timeoutlambda-15m-timeoutvercel-4-5mb-payloadsqlite-busyneon-cold-startsmithery-connect-shutdowngemini-preview-shutdown-2026-11-17openai-tts-1-shutdown-2027-01-06openai-insufficient-quotacontext-length-exceeded-413streaming-sse-econnresetcloudflare-1015-rate-limitvector-dimension-mismatchmcp-jsonrpc-method-not-foundsandbox-oom-exit-137postgres-too-many-connectionsheadless-browser-executable-missing