Linkiir Runtime Crashed
Symptoms
/api/healthreports Runtime as failed or degraded.- Workflows stop consuming messages.
- Grid remains available but Runtime PID is absent.
- The service supervisor repeatedly restarts Runtime.
Immediate actions
- Record the first failure time.
- Confirm queue messages remain retained.
- Capture Runtime logs and operating-system events.
- Check memory, disk, file descriptors, and process limits.
- Identify the last workflow/node and message correlation ID before the crash.
- Disable a reproducibly crashing workflow only when necessary to stabilize the platform.
- Restart Runtime through Grid or the platform service, not by launching the binary manually.
Platform commands
Windows:
Get-Service LinkiirGrid
Restart-Service LinkiirGrid
Get-ChildItem "C:\ProgramData\Linkiir\logs\runtime"
Linux:
systemctl status linkiir-grid
journalctl -u linkiir-grid --since "30 minutes ago"
sudo systemctl restart linkiir-grid
Docker:
./scripts/linkiirctl status
./scripts/linkiirctl logs linkiir-grid
./scripts/linkiirctl restart
Root-cause questions
- Did a specific script or native module trigger the crash?
- Was the input unusually large or malformed?
- Did Runtime exhaust memory or hit a timeout?
- Did a dependency, schema, or shared library change?
- Did the crash begin after an upgrade?
After recovery, verify consumer offsets, queue depth, message ordering, and downstream duplicates before resuming normal traffic.