Sporadic error: SIGKILL! Perhaps out of memory?
Bug Description
There's no clear path to why and when it'll happen. There's no memory issue whatsoever, the Docker is at 50% utilization.
[08/25/25 13:46:04] ERROR 2025-08-25 13:46:04 - ERROR - init.py:1762
init - Worker (pid:1333) was
sent SIGKILL! Perhaps out of
memory?
[08/25/25 13:46:20] ERROR 2025-08-25 13:46:20 - ERROR - chat - chat.py:248
Job not found:
0dba3c73-4816-4304-b4ad-ed2d96930e33.
Error: Job queue not found for job_id:
0dba3c73-4816-4304-b4ad-ed2d96930e33
============================================== 🔍 LANGFLOW MEMORY MONITORING - Mon Aug 25 16:50:12 IDT 2025
📊 Container Resource Usage: CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS langflow-docker 0.33% 972.1MiB / 1.914GiB 49.61% 221MB / 2.71GB 194GB / 5.4GB 15
�� Memory Details Inside Container:
MemTotal: 2006476 kB MemFree: 38324 kB MemAvailable: 158788 kB Buffers: 4340 kB Cached: 157136 kB SwapCached: 0 kB Active: 801528 kB Inactive: 1026124 kB
Reproduction
I have 2 agents, each of which is connected to an MCP tool of its own.
Expected behavior
Not happening.
Who can help?
@Vigtu @italojohnny
Operating System
MacOS Sequoia Version 15.6 (24G84)
Langflow Version
1.5.0.post1
Python Version
None
Screenshot
No response
Flow File
No response
same problem
Same. It's so hard to profile.
I faced a similar issue, which I resolved by increasing the host memory limits.
colima stop
colima start --memory 8 --cpu 4
or check Docker Desktop Memory Settings
Docker Desktop → Settings → Resources → Memory
Thanks for the report! We were able to reproduce it.
We've created ticket LE-1231 for the engineering team to track the fix.
Hi @Yandextaxidriver! To make sure we're tracking the right root cause, a few quick questions about your setup:
- How many workers is your instance running? (i.e. did you set
LANGFLOW_WORKERS/--workers, or is it the default of1?) - Are you setting an event delivery mode (
LANGFLOW_EVENT_DELIVERY)? - What memory limit is the container running with? Your dump shows
MemAvailable: ~158MBon a 2GB container, which is quite tight.
Context: PR #13202 fixed a Job queue not found race that only happens with multiple workers. If you're on a single worker, your SIGKILL / out-of-memory looks like a separate memory issue — the worker dying takes its in-memory job queue with it, producing the same Job not found message from a different cause. Want to confirm before we close this out.
This topic will be closed due to inactivity.