FlowiseAI & Langflow Error Diagnostics (8 Guides)
Pinpoint why self-hosted FlowiseAI and Langflow stacks crash during PDF chunking, multi-agent tool calls, and concurrent vector upserts.
8 Error Triage Guides
JS Heap OOM During PDF Chunking
Node.js defaults V8 old-space memory to roughly 2-4 GB depending on container limits. Loading and recursively splitting multi-thousand-page PDFs in one request blows past the V8 ceiling.
504 Timeout on Multi-Agent RAG
Multi-agent Supervisor, Tool Agent, and Reranker chains often take 70-180 seconds end-to-end—exceeding Nginx 60s and Cloudflare 100s synchronous HTTP limits.
Langflow Celery Worker Hang
Langflow prefork Celery workers accumulate C-extension memory from PyMuPDF, Unstructured, and embedding tokenizers until workers deadlock or stall queue consumption.
Docker Exit 137 Vector OOM
When combined container RSS exceeds your VPS physical RAM, the Linux kernel OOM killer sends SIGKILL (Exit Code 137) to the largest container—usually Flowise or Qdrant.
BullMQ Redis Stalled Jobs
Enabling MODE=queue solves HTTP timeouts, but misconfigured Redis eviction policies or overloaded workers cause BullMQ jobs to stall and repeat infinitely.
Qdrant & pgvector HNSW OOM
Co-locating Qdrant or pgvector on the same VPS as FlowiseAI/Langflow causes silent memory spikes when building HNSW graphs for 1536d or 3072d embeddings.
SQLite Lock on Concurrent Flows
Default SQLite storage serializes every write transaction—causing chat history saves, telemetry logs, and vector metadata writes to fail with SQLITE_BUSY above 5-8 concurrent users.
524 Timeout on Agent Streaming
Even when an agent streams tokens, reverse proxy response buffering holds output in memory—causing Cloudflare to return 524 after 100 seconds of apparent silence.