brokerd: state.sock answers memoryd's question about a session's state
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
This commit is contained in:
+6
-5
@@ -200,8 +200,8 @@ socket, stop it; `brokerd` removes a stale socket file by itself.
|
||||
|
||||
**What you see.** One of three lines, then this entry:
|
||||
|
||||
- `brokerd: cannot accept on accept-broker (or accept-admin) for now, retrying: <error>`. It keeps
|
||||
running and tries every 200 ms; the line is printed once per episode.
|
||||
- `brokerd: cannot accept on accept-broker (or accept-admin, accept-state) for now, retrying:
|
||||
<error>`. It keeps running and tries every 200 ms; the line is printed once per episode.
|
||||
- `brokerd: cannot start a thread for a connection, so it was closed`. It keeps running.
|
||||
- `brokerd: stopped serving: <error>`, and it exits 1: any other failure of `accept`.
|
||||
In both cases `loopd` reports
|
||||
@@ -293,11 +293,12 @@ be removed.
|
||||
this entry.
|
||||
|
||||
**Why.** `broker.sock` accepts only tool requests from `loopd`; `admin.sock` accepts only admin
|
||||
requests from `bxctl`. Nothing in the harness sends a wrong kind, so this is a bug or a component
|
||||
requests from `bxctl`; `state.sock` accepts only `memoryd`'s questions about a session's state.
|
||||
Nothing in the harness sends a wrong kind, so this is a bug or a component
|
||||
doing what it should not, such as something trying to approve through the tool socket.
|
||||
|
||||
**Confirm.** Note the time, kind and socket. Check what was running: `pgrep -a 'loopd|bxctl'`.
|
||||
Look at the session logs active at that time.
|
||||
**Confirm.** Note the time, kind and socket. Check what was running:
|
||||
`pgrep -a 'loopd|bxctl|memoryd'`. Look at the session logs active at that time.
|
||||
|
||||
**Fix.** If a harness version mismatch explains it (a new `bxctl` against an old `brokerd`),
|
||||
rebuild and restart both. Otherwise keep the logs, stop `loopd`, and investigate before running it
|
||||
|
||||
Reference in New Issue
Block a user