Problem ist Modell unabhรคngig
openclaw logs --follow wird nach einiger zeit selbststรคndig abgebrochen mit dieser Meldung:
05:32:50+00:00 info gateway/ws {"subsystem":"gateway/ws"} โ res โ chat.history 124ms conn=f6bfacb3โฆ124a id=ff40b011โฆ6412
gateway connect failed: Error: gateway closed (1000):
Gateway not reachable. Is it running and accessible?
#Gateway und Agent antwortet sehr langsam ( Teilweise Timeouts )
1 messages ยท Page 1 of 1 (latest)
Das ist ziemlich sicher Gateway/WS, nicht Modell. openclaw logs --follow liest die Logs รผber den Gateway-RPC (logs.tail). Wenn der Gateway kurz neu startet, hรคngt, oder die WS-Verbindung normal schlieรt (1000 = normal closure), beendet sich der Tail.
Bitte poste als erstes:
openclaw --version
openclaw gateway status --deep
openclaw status --all
openclaw doctor
Und zum Loggen bitte einmal ohne Gateway-RPC tailen:
tail -F "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"
Wenn tail -F weiterlรคuft, aber openclaw logs --follow abbricht โ eher CLI/Gateway-WS/Reachability.
Wenn tail -F auch Gateway-Restarts oder Fatal Errors zeigt โ Gateway-Prozess/service stirbt oder startet neu.
Falls Linux/systemd:
systemctl --user status openclaw-gateway --no-pager
journalctl --user -u openclaw-gateway -n 200 --no-pager
Docs: https://docs.openclaw.ai/help/faq und https://docs.openclaw.ai/gateway/troubleshooting
OpenClaw 2026.4.26 (be8c246)
๐ฆ OpenClaw 2026.4.26 (be8c246) โ Somewhere between 'hello world' and 'oh god what have I built.'
โ
โ
Service: systemd (enabled)
File logs: /tmp/openclaw/openclaw-2026-04-29.log
Command: /usr/bin/node /home/dmin/.npm-global/lib/node_modules/openclaw/dist/index.js gateway --port 18789
Service file: ~/.config/systemd/user/openclaw-gateway.service
Service env: OPENCLAW_GATEWAY_PORT=18789
Config (cli): ~/.openclaw/openclaw.json
Config (service): ~/.openclaw/openclaw.json
Gateway: bind=lan (0.0.0.0), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://192.168.2.43:18789/
Probe note: bind=lan listens on 0.0.0.0 (all interfaces); probing via 127.0.0.1.
Runtime: running (pid 15995, state active, sub running, last exit 0, reason 0)
Connectivity probe: ok
Capability: admin-capable
Listening: *:18789
Troubles: run openclaw status
Troubleshooting: https://docs.openclaw.ai/troubleshooting
๐ฆ OpenClaw 2026.4.26 (be8c246) โ Pairing codes exist because even bots believe in consentโand good security hygiene.
โ
OpenClaw status --all
Overview
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Item โ Value โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Version โ 2026.4.26 โ
โ OS โ linux 6.6.87.2-microsoft-standard-WSL2 (x64) โ
โ Node โ 24.15.0 โ
โ Config โ ~/.openclaw/openclaw.json โ
โ Dashboard โ http://192.168.2.43:18789/ โ
โ Tailscale exposure โ off โ
โ Channel โ stable (default) โ
โ Update โ pnpm ยท up to date ยท npm latest 2026.4.26 โ
โ Gateway โ local ยท ws://127.0.0.1:18789 (local loopback) ยท reachable 1.08s ยท auth token+password ยท โ
โ โ ZweitPc (192.168.2.43) app 2026.4.26 linux 6.6.87.2-microsoft-standard-WSL2 โ
โ Security โ Run: openclaw security audit --deep โ
โ Gateway self โ unknown โ
โ Gateway service โ systemd installed ยท enabled ยท running (pid 15995, state active) โ
โ Node service โ systemd installed ยท disabled ยท stopped (state inactive) โ
โ Agents โ 7 total ยท 0 bootstrapping ยท 1 active ยท 362 sessions โ
โ Secrets โ none โ
โโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Channels
โโโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Channel โ Enabled โ State โ Detail โ
โโโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Agents
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Agent โ Bootstrap file โ Sessions โ Active โ Store โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ main (Main) โ ABSENT โ 121 โ 1m ago โ ~/.openclaw/agents/main/sessions/sessions. โ
โ โ โ โ โ json โ
โ coder (Coder) โ ABSENT โ 237 โ 7d ago โ ~/.openclaw/agents/coder/sessions/sessions. โ
โ โ โ โ โ json โ
โ free-allround (Free Allround) โ ABSENT โ 3 โ 58d ago โ ~/.openclaw/agents/free-allround/sessions/ โ
โ โ โ โ โ sessions.json โ
โ freeauto (FreeAuto) โ ABSENT โ 1 โ 58d ago โ ~/.openclaw/agents/freeauto/sessions/ โ
โ โ โ โ โ sessions.json โ
โ hacker (Hacker) โ ABSENT โ 0 โ unknown โ ~/.openclaw/agents/hacker/sessions/ โ
โ โ โ โ โ sessions.json โ
โ image-analysis (Image Analysis) โ ABSENT โ 0 โ unknown โ ~/.openclaw/agents/image-analysis/sessions/ โ
โ โ โ โ โ sessions.json โ
โ naughty-lisa (Naughty Lisa) โ ABSENT โ 0 โ unknown โ ~/.openclaw/agents/naughty-lisa/sessions/ โ
โ โ โ โ โ sessions.json โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Diagnosis (read-only)
Gateway connection details:
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: /home/dmin/.openclaw/openclaw.json
Bind: lan
โ Config: /home/dmin/.openclaw/openclaw.json
โ Secret diagnostics (0)
โ Restart sentinel: none
! Port 18789
Port 18789 is already in use.
- pid 15995 dmin: openclaw-gateway (*:18789)
- Gateway already running locally. Stop it (openclaw gateway stop) or use a different port.
! Tailscale exposure: off ยท daemon unknown
โ Skills: 112 eligible ยท 0 missing ยท /home/dmin/.openclaw/workspace
โ Plugin compatibility (none)
Gateway restart attempts (tail): /home/dmin/.openclaw/logs/gateway-restart.log
[2026-04-27T12:21:56Z] openclaw restart attempt source=update target=openclaw-gateway.service
[2026-04-27T12:21:56Z] openclaw restart done source=update
[2026-04-27T12:52:40Z] openclaw restart attempt source=update target=openclaw-gateway.service
[2026-04-27T12:52:40Z] openclaw restart done source=update
[2026-04-27T16:37:45Z] openclaw restart attempt source=update target=openclaw-gateway.service
[2026-04-27T16:37:45Z] openclaw restart done source=update
[2026-04-28T10:01:38Z] openclaw restart attempt source=update target=openclaw-gateway.service
[2026-04-28T10:01:38Z] openclaw restart done source=update
โ Channel issues (none)
Pasteable debug report. Auth tokens redacted.
Troubleshooting: https://docs.openclaw.ai/troubleshooting
โ
Danke, das grenzt es gut ein.
Die wichtigen Hinweise sind:
- Gateway lรคuft und Probe ist
ok logs --followbricht trotzdem ab- lokale Gateway-Erreichbarkeit braucht schon
1.08sโ fรผr127.0.0.1eher langsam - WSL2 + 362 Sessions + aktive Agent-Runs โ ich wรผrde zuerst auf Gateway-Sรคttigung/Event-Loop/IO-Stall schauen, nicht aufs Modell
Zum stabilen Mitloggen bitte statt RPC-Tail nutzen:
tail -F /tmp/openclaw/openclaw-2026-04-29.log
Dann bitte posten:
openclaw doctor
openclaw health --verbose
openclaw gateway stability --json
openclaw gateway status --require-rpc
openclaw sessions cleanup --all-agents --dry-run
Wichtig: cleanup --dry-run ist nur Vorschau, lรถscht nichts.
Wenn health --verbose eventLoop degraded, hohe event-loop delay, viele queued/active sessions oder Memory pressure zeigt, haben wir den Grund fรผr Timeouts/langsame Antworten ziemlich direkt. Als Workaround kannst du openclaw logs --follow --interval 5000 probieren โ aber zum Debuggen ist tail -F besser, weil es nicht รผber den Gateway selbst lรคuft.
Docs dazu: https://docs.openclaw.ai/help/faq / https://docs.openclaw.ai/gateway/health
๐ฆ OpenClaw 2026.4.26 (be8c246) โ It's not "failing," it's "discovering new ways to configure the same thing wrong."
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ OPENCLAW ๐ฆ
โ OpenClaw doctor
โ
โ Update โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ This install is not a git checkout. โ
โ Run openclaw update to update via your package manager (npm/pnpm), then rerun doctor. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Archive 1335 orphan transcript files in ~/.openclaw/agents/main/sessions? This only renames them to *.deleted.<timestamp>.
โ Yes
โ
โ State integrity โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - 1/5 recent sessions are missing transcripts. โ
โ Verify sessions in store: openclaw sessions --store โ
โ "/home/dmin/.openclaw/agents/main/sessions/sessions.json" โ
โ Preview cleanup impact: openclaw sessions cleanup --store โ
โ "/home/dmin/.openclaw/agents/main/sessions/sessions.json" --dry-run โ
โ Prune missing entries: openclaw sessions cleanup --store โ
โ "/home/dmin/.openclaw/agents/main/sessions/sessions.json" --enforce --fix-missing โ
โ - Found 1335 orphan transcript files in ~/.openclaw/agents/main/sessions. โ
โ These .jsonl files are no longer referenced by sessions.json, so they are not part of โ
โ any active session history. โ
โ Doctor can archive them safely by renaming each file to *.deleted.<timestamp>. โ
โ Examples: 008e04cb-dfa6-443c-a840-0403b177f1aa.jsonl, โ
โ 008e04cb-dfa6-443c-a840-0403b177f1aa.trajectory.jsonl, โ
โ 00fc9b3f-eca2-4e6f-a657-15455ef3226a.jsonl, and 1332 more โ
โ โ
โ Doctor changes โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - Archived 1335 orphan transcript files in ~/.openclaw/agents/main/sessions as .deleted โ
โ timestamped backups. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Session locks โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - Found 1 session lock file. โ
โ - ~/.openclaw/agents/main/sessions/938e2b15-fd0b-4893-9581-6d6dd49f9da5-topic-1498820715833593886.jsonl.lock โ
โ pid=15995 (alive) age=5m21s stale=no โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Gateway service config โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - Gateway service entrypoint does not match the current install. โ
โ (/home/dmin/.npm-global/lib/node_modules/openclaw/dist/index.js -> โ
โ /home/dmin/.nvm/versions/node/v24.15.0/lib/node_modules/openclaw/dist/index.js) โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Update gateway service config to the recommended defaults now?
โ No
โ
โ Security โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - Heartbeat defaults: heartbeat delivery is configured while โ
โ agents.defaults.heartbeat.directPolicy is unset. โ
โ Heartbeat now allows direct/DM targets by default. Set it explicitly to "allow" or โ
โ "block" to pin upgrade behavior. โ
โ - WARNING: Gateway bound to "lan" (0.0.0.0) (network-accessible). โ
โ Ensure your auth credentials are strong and not exposed. โ
โ Safer remote access: keep bind loopback and use Tailscale Serve/Funnel or an SSH โ
โ tunnel. โ
โ Example tunnel: ssh -N -L 18789:127.0.0.1:18789 user@gateway-host โ
โ Docs: https://docs.openclaw.ai/gateway/remote โ
โ - Run: openclaw security audit --deep โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Das sieht noch nicht nach โzu viele Sessionsโ als Hauptursache aus. 121 + 237 sind nicht winzig, aber auch nicht absurd. Wichtiger: in dem Ausschnitt fehlt der Teil mit Event Loop / Memory / Queue / Stability โ genau der wรคre fรผr die Timeouts spannend.
Bitte noch diese 3 Sachen posten:
openclaw doctor
openclaw gateway stability
openclaw sessions cleanup --all-agents --dry-run
Und wรคhrend openclaw logs --follow abbricht, einmal prรผfen ob der Gateway-PID gleich bleibt:
openclaw gateway status | grep "Runtime:"
Wenn die PID gleich bleibt โ Gateway crasht nicht, sondern die WS/RPC-Verbindung wird geschlossen oder der Event Loop hรคngt kurz.
Wenn die PID wechselt โ systemd startet den Gateway neu; dann brauchen wir journalctl --user -u openclaw-gateway -n 200 --no-pager.
cleanup --dry-run ist safe; bitte noch nicht --enforce ausfรผhren, erst schauen was er entfernen wรผrde.
โ Browser โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - OpenClaw-managed browser profile(s) are configured: user, windows-chrome. โ
โ - No Chromium-based browser executable was found on this host for OpenClaw-managed โ
โ launch. โ
โ - Install Chrome, Chromium, Brave, Edge, or set browser.executablePath explicitly. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Browser โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ - OpenClaw-managed browser profile(s) are configured: user, windows-chrome. โ
โ - No DISPLAY or WAYLAND_DISPLAY is set, and browser.headless is false. Managed browser โ
โ launch needs a desktop session, Xvfb, or browser.headless: true. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Skills status โโโโโโโโโโโโโฎ
โ โ
โ Eligible: 112 โ
โ Missing requirements: 23 โ
โ Blocked by allowlist: 0 โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ Plugins โโโโโโโฎ
โ โ
โ Loaded: 71 โ
โ Imported: 0 โ
โ Disabled: 44 โ
โ Errors: 0 โ
โ โ
โโโโโโโโโโโโโโโโโโฏ
โ
โ
Discord: configured
Agents: main (default), coder, naughty-lisa, free-allround, freeauto, hacker, image-analysis
Heartbeat interval: 5m (main)
Session store (main): /home/dmin/.openclaw/agents/main/sessions/sessions.json (121 entries)
- agent:main:cron:da8e93ec-6e6a-4d76-a533-e07fe3320051 (1m ago)
- agent:main:cron:0f97ba00-c145-4a43-989c-3f1732309098 (2m ago)
- agent:main:cron:65180f6a-1896-4431-bdf7-860a992de0ac (2m ago)
- agent:main:cron:61d1a68d-5640-4956-921a-70aa653f072b (4m ago)
- agent:main:discord:direct:267227929824460801 (4m ago)
Das Port 18789 is already in use ist hier wahrscheinlich kein Fehler โ der Port ist vom erwarteten Gateway-Prozess selbst belegt:
pid 15995 dmin: openclaw-gateway (*:18789)
Also: kein klarer Doppel-Gateway/Port-Konflikt, solange da nur dieser eine PID steht.
Der Doctor zeigt eher: Service lรคuft, Config ok, keine Channel-Probleme. Damit bleibt als Hauptverdacht: Gateway wird zeitweise langsam/saturiert, nicht โGateway startet gar nichtโ.
Bitte als nรคchstes wirklich diese zwei Outputs:
openclaw health --verbose --timeout 30000
openclaw gateway stability
Falls gateway stability auch hรคngt/abbricht:
openclaw gateway stability --bundle latest
Und fรผr die Logs weiter:
tail -F /tmp/openclaw/openclaw-2026-04-29.log
Nicht openclaw logs --follow, weil das selbst รผber den Gateway geht und bei genau diesem Problem mit kaputtgeht.
Wenn du magst, zusรคtzlich einmal prรผfen ob es wirklich nur ein Listener ist:
ss -ltnp | grep 18789
Ja โ das ist relevant. 1335 orphan transcript files + โrecent session missing transcriptโ ist genau die Art State-Mรผll, die auf WSL2/Gateway-IO zu komischen Latenzen fรผhren kann.
Das Archivieren im Doctor ist safe-ish: es lรถscht nicht, sondern benennt nur um zu *.deleted.<timestamp>.
Nach dem Doctor bitte:
openclaw doctor
openclaw sessions cleanup --store "/home/dmin/.openclaw/agents/main/sessions/sessions.json" --dry-run --fix-missing
Wenn die Vorschau nur die fehlenden Transcript-Eintrรคge entfernt, dann:
openclaw sessions cleanup --store "/home/dmin/.openclaw/agents/main/sessions/sessions.json" --enforce --fix-missing
openclaw gateway restart
openclaw health --verbose --timeout 30000
Danach nochmal testen, ob Antworten/logs --follow stabiler sind. Fรผr Logs wรคhrenddessen weiter lieber:
tail -F /tmp/openclaw/openclaw-2026-04-29.log
Wenn es danach immer noch langsam ist, wรคre der nรคchste sinnvolle Schritt openclaw gateway diagnostics export.
Aha โ das ist jetzt der wichtigste Fund:
Gateway service entrypoint does not match the current install
old: /home/dmin/.npm-global/lib/node_modules/openclaw/...
new: /home/dmin/.nvm/versions/node/v24.15.0/lib/node_modules/openclaw/...
Bitte das fixen. Das ist klassisches โCLI und Service laufen aus unterschiedlichen Installationenโ-Split-Brain. Auch wenn beide gerade 2026.4.26 anzeigen, kann das zu sehr seltsamem Verhalten fรผhren.
Am einfachsten:
openclaw doctor
und bei:
Update gateway service config to the recommended defaults now?
Yes wรคhlen.
Alternativ direkt:
openclaw gateway install --force
openclaw gateway restart
openclaw gateway status --deep
Danach nochmal testen:
openclaw health --verbose --timeout 30000
openclaw logs --follow
Die Session-Lock-Datei ist erstmal nicht schlimm: pid=15995 alive und stale=no heiรt aktiver Lauf/Lock, nicht lรถschen.
Der LAN-Bind ist separat ein Security-Hinweis โ fรผr das Slow/Timeout-Problem ist zuerst der Service-Entrypoint-Mismatch dran.
Das Browser-Zeug ist erstmal Nebenkriegsschauplatz โ relevant nur, wenn deine Cron/Heartbeat-Jobs den Browser benutzen. Sonst erklรคrt es die Gateway-Timeouts nicht direkt.
Aber der untere Teil ist auffรคllig:
Heartbeat interval: 5m
agent:main:cron:... (1m ago)
agent:main:cron:... (2m ago)
agent:main:cron:... (2m ago)
agent:main:cron:... (4m ago)
Du hast sehr aktive Cron/Heartbeat-Lรคufe. Das kann den Main-Agent dauerhaft busy halten und dann fรผhlen sich Gateway/Agent โlangsamโ an.
Zum Isolieren wรผrde ich kurz alles Periodische pausieren:
openclaw system heartbeat disable
openclaw config set cron.enabled false
openclaw gateway restart
Dann 5โ10 Minuten testen:
openclaw health --verbose --timeout 30000
openclaw logs --follow
Wenn es danach stabil ist, liegtโs sehr wahrscheinlich an Cron/Heartbeat-Last. Dann:
openclaw cron list
openclaw cron status
und die Jobs ausdรผnnen / Intervalle grรถรer machen / Heartbeat zurรผck auf z.B. 30m setzen:
openclaw config set agents.defaults.heartbeat.every "30m"
Spรคter wieder aktivieren:
openclaw config set cron.enabled true
openclaw system heartbeat enable
openclaw gateway restart
dmin@ZweitPc:~$ openclaw health --verbose --timeout 30000
openclaw gateway stability
๐ฆ OpenClaw 2026.4.26 (be8c246) โ One CLI to rule them all, and one more restart because you changed the port.
โ
โ
Gateway connection:
Gateway target: ws://127.0.0.1:18789
Source: local loopback
Config: /home/dmin/.openclaw/openclaw.json
Bind: lan
Discord: configured
Agents: main (default), coder, naughty-lisa, free-allround, freeauto, hacker, image-analysis
Heartbeat interval: 5m (main), disabled (coder), disabled (naughty-lisa), disabled (free-allround), disabled (freeauto), disabled (hacker), disabled (image-analysis)
Session store (main): /home/dmin/.openclaw/agents/main/sessions/sessions.json (110 entries)
- agent:main:discord:direct:267227929824460801 (2m ago)
- agent:main:cron:a35fe4d1-a3d7-4dee-a378-bde67ebe5563 (3m ago)
- agent:main:discord:channel:1494828190592401579 (3m ago)
- agent:main:discord:channel:1498820715833593886 (3m ago)
- agent:main:cron:ef2a7f91-8d09-4048-bcc7-1a3cf6fe8875 (4m ago)
Session store (coder): /home/dmin/.openclaw/agents/coder/sessions/sessions.json (237 entries) - agent:coder:subagent:139ad407-03e1-48b2-8237-60ed8e16c7b8 (10743m ago)
- agent:coder:subagent:0b55a8cb-9e57-4926-83b7-494c897ba11b (10743m ago)
- agent:coder:subagent:e382bf13-83b8-4953-ae14-5e58a19fd83b (11177m ago)
- agent:coder:subagent:573fec2c-79cb-4973-b7b7-bff98c8ee51b (11200m ago)
- agent:coder:subagent:680320e0-f2c9-4135-abd3-cb0abe2eb5aa (12558m ago)
Session store (naughty-lisa): /home/dmin/.openclaw/agents/naughty-lisa/sessions/sessions.json (0 entries)
Session store (free-allround): /home/dmin/.openclaw/agents/free-allround/sessions/sessions.json (3 entries) - agent:free-allround:subagent:0e579b3f-daa4-4842-b2fa-c87a30ecdf8e (84140m ago)
- agent:free-allround:subagent:369fbb89-3bc1-4874-b4f4-80cff05aac08 (84140m ago)
- agent:free-allround:subagent:cd4ea275-2799-46b7-af06-12f4c5f9e366 (84141m ago)
Session store (freeauto): /home/dmin/.openclaw/agents/freeauto/sessions/sessions.json (1 entries) - agent:freeauto:subagent:1963bfd5-5279-4914-8f66-9dbd9fe9662e (84142m ago)
Session store (hacker): /home/dmin/.openclaw/agents/hacker/sessions/sessions.json (0 entries)
Session store (image-analysis): /home/dmin/.openclaw/agents/image-analysis/sessions/sessions.json (0 entries)
๐ฆ OpenClaw 2026.4.26 (be8c246) โ I'll butter your workflow like a lobster roll: messy, delicious, effective.
โ
โ
Gateway Stability
Events: 1000/1000 ยท dropped=1175
Types: session.state=176, exec.process.completed=169, queue.lane.enqueue=140, queue.lane.dequeue=138, diagnostic.heartbeat=93, diagnostic.memory.sample=93, session.stuck=74, message.delivery.started=34
Memory: rss=3.9 GiB heap=3.4 GiB maxRss=4.4 GiB pressure=10
Recent:
2026-04-29T06:10:25.963Z #6437 exec.process.completed outcome=failed reason=overall-timeout
2026-04-29T06:10:30.139Z #6443 diagnostic.memory.sample rss=3.9 GiB heap=3.2 GiB
2026-04-29T06:10:30.139Z #6444 diagnostic.heartbeat queued=3
2026-04-29T06:10:31.359Z #6448 exec.process.completed outcome=completed
2026-04-29T06:10:34.159Z #6454 exec.process.completed outcome=completed
2026-04-29T06:10:36.370Z #6455 exec.process.completed outcome=completed
2026-04-29T06:10:59.795Z #6473 exec.process.completed outcome=completed
2026-04-29T06:11:00.047Z #6476 exec.process.completed outcome=completed
2026-04-29T06:11:01.988Z #6480 diagnostic.memory.sample rss=3.8 GiB heap=3.3 GiB
2026-04-29T06:11:01.988Z #6481 diagnostic.heartbeat queued=3
2026-04-29T06:11:01.989Z #6483 session.stuck outcome=processing queueDepth=1
2026-04-29T06:11:01.991Z #6485 session.stuck outcome=processing queueDepth=1
Das ist jetzt ziemlich eindeutig: Gateway ist live รผberlastet / Memory pressure, nicht Modell.
rss=3.9 GiB heap=3.4 GiB maxRss=4.4 GiB pressure=10
session.stuck=74
diagnostic.heartbeat queued=3
exec.process.completed failed reason=overall-timeout
Damit sind die WS-Abbrรผche von openclaw logs --follow erklรคrbar: der Gateway hรคngt/GCโt/arbeitet sich fest.
Ich wรผrde jetzt in genau dieser Reihenfolge isolieren:
openclaw system heartbeat disable
openclaw config set cron.enabled false
openclaw gateway install --force
openclaw gateway restart
sleep 30
openclaw gateway stability
openclaw health --verbose --timeout 30000
Danach sollte rss/heap deutlich niedriger sein. Wenn es dann stabil ist: Ursache ist sehr wahrscheinlich Cron/Heartbeat/Exec-Last.
Dann prรผfen, was da lรคuft:
openclaw tasks list --status running
openclaw tasks audit
openclaw cron list
Beim Wiederaktivieren wรผrde ich Heartbeat nicht bei 5m lassen:
openclaw config set agents.defaults.heartbeat.every "30m"
openclaw config set agents.defaults.heartbeat.lightContext true
openclaw config set agents.defaults.heartbeat.isolatedSession true
openclaw config set cron.maxConcurrentRuns 1
openclaw config set cron.enabled true
openclaw system heartbeat enable
openclaw gateway restart
Wenn der Heap auch ohne Cron/Heartbeat wieder schnell Richtung 3โ4 GiB wรคchst, bitte openclaw gateway diagnostics export machen und als GitHub-Issue melden โ das wรคre dann sehr bug-verdรคchtig.
Docs: https://docs.openclaw.ai/gateway/health https://docs.openclaw.ai/automation/cron-jobs
dmin@ZweitPc:~$ openclaw tasks list --status running
openclaw tasks audit
openclaw cron list
๐ฆ OpenClaw 2026.4.26 (be8c246) โ Open source means you can see exactly how I judge your config.
Background tasks: 1
Task pressure: 0 queued ยท 1 running ยท 0 issues
Status filter: running
Task Kind Status Delivery Run Child Session Summary
eca9c8b6-โฆ cron running not_applicable cron:380dโฆ n/a mini-cron-batch
๐ฆ OpenClaw 2026.4.26 (be8c246) โ Your config is valid, your assumptions are not.
Tasks audit: 203 findings ยท 0 errors ยท 203 warnings
Task findings: 203 ยท TaskFlow findings: 0
Scope Severity Code Item Status Age Detail
Task warn lost 1ad87918-โฆ lost 6d19h backing session missing
Task warn lost 53071e75-โฆ lost 6d19h backing session missing
Task warn lost a185729d-โฆ lost 6d19h backing session missing
Task warn lost f563b071-โฆ lost 6d19h backing session missing
Task warn lost 93c3ced1-โฆ lost 6d17h backing session missing
Task warn lost f09f7e19-โฆ lost 6d17h backing session missing
Task warn lost 61aa9f0d-โฆ lost 6d16h backing session missing
Task warn lost 7a0dd841-โฆ lost 6d16h backing session missing
Task warn lost 8c9f841d-โฆ lost 6d16h backing session missing
Task warn lost 6d9020fe-โฆ lost 6d16h backing session missing
Task warn lost c9ef1581-โฆ lost 6d16h backing session missing
Task warn lost 0f8d4f1e-โฆ lost 6d16h backing session missing
Task warn lost b9771ade-โฆ lost 6d16h backing session missing
Task warn lost 5ef88e20-โฆ lost 6d15h backing session missing
die liste geht ewig weiter
Das bestรคtigt den Verdacht weiter: da hรคngt mindestens ein Cron-Task:
cron running โฆ mini-cron-batch
Und die 203 lost warnings passen zu dem kaputten/aufgerรคumten Session-State. Ich wรผrde jetzt aufrรคumen + den laufenden Cron prรผfen:
openclaw tasks list --status running --json
openclaw tasks show <volle-task-id>
Wenn mini-cron-batch wirklich hรคngt:
openclaw tasks cancel <volle-task-id>
Dann Maintenance erst preview, dann anwenden:
openclaw tasks maintenance
openclaw tasks maintenance --apply
openclaw tasks audit --limit 20
Danach:
openclaw gateway restart
openclaw gateway stability
Wenn rss/heap danach niedrig bleibt und keine session.stuck Events mehr kommen, war es der kaputte Task/Session-State + Cron-Last.
Bitte openclaw cron list nochmal separat laufen lassen โ die Ausgabe fehlt vermutlich, weil tasks audit so lang war.
Ja, dann nicht die ganze Liste posten ๐ Das reicht als Signal.
Nimm die kompakten/limitieren Varianten:
openclaw tasks audit --limit 20
openclaw tasks maintenance
Wenn die Maintenance-Vorschau plausibel aussieht, dann:
openclaw tasks maintenance --apply
Fรผr den laufenden Cron brauchst du nur die volle ID. Am besten JSON:
openclaw tasks list --status running --json
Dann die Task-ID kopieren und:
openclaw tasks show <task-id>
openclaw tasks cancel <task-id>
Danach Neustart + Kontrolle:
openclaw gateway restart
openclaw gateway stability
Wenn tasks maintenance --apply die 203 lost Findings nicht deutlich reduziert, wรคre das fรผr mich Issue-Material.
dmin@ZweitPc:~$ cron running โฆ mini-cron-batch
cron: can't open or create /var/run/crond.pid: Permission denied
dmin@ZweitPc:~$
Ah โ das war nur die Tabellenzeile, nicht als Command gemeint ๐ Du hast damit das Linux-cron Binary gestartet.
Bitte nicht cron ... ausfรผhren. Gemeint war OpenClaw:
openclaw tasks list --status running --json
Daraus die komplette id der laufenden mini-cron-batch Task kopieren, dann:
openclaw tasks show <id>
openclaw tasks cancel <id>
Oder wenn es nur diese eine laufende Task gibt und du JSON nicht lesen willst: poste nur die Ausgabe von:
openclaw tasks list --status running --json
Dann kรถnnen wir die ID daraus nehmen.
Die Meldung:
cron: can't open or create /var/run/crond.pid: Permission denied
kommt vom System-cron und ist fรผr OpenClaw hier irrelevant.
dmin@ZweitPc:~$ openclaw tasks list --status running --json
{
"count": 0,
"runtime": null,
"status": "running",
"tasks": []
}
dmin@ZweitPc:~$
Gut โ dann ist der laufende Cron-Task inzwischen weg. Nรคchster Schritt ist State aufrรคumen:
openclaw tasks maintenance
Wenn die Vorschau sinnvoll aussieht:
openclaw tasks maintenance --apply
openclaw tasks audit --limit 20
Dann Gateway neu starten und Memory/Stability nochmal prรผfen:
openclaw gateway restart
sleep 30
openclaw gateway stability
openclaw health --verbose --timeout 30000
Wenn danach rss/heap wieder normal ist und tasks audit nicht mehr hunderte lost zeigt, sollten die Timeouts deutlich besser sein.
Falls tasks audit danach immer noch ~203 lost zeigt: bitte nicht weiter manuell lรถschen โ dann besser openclaw gateway diagnostics export erstellen und ein GitHub-Issue mit den Diagnosedaten รถffnen: https://github.com/openclaw/openclaw/issues