-
Notifications
You must be signed in to change notification settings - Fork 721
Closed
Description
Description
The external driver(server) process keeps running even after the limactl(client) exits, even though a keep‑alive timeout is implemented.
lima/pkg/driver/external/server/server.go
Lines 65 to 73 in 96c7179
| kaProps := keepalive.ServerParameters{ | |
| Time: 10 * time.Second, | |
| Timeout: 20 * time.Second, | |
| } | |
| kaPolicy := keepalive.EnforcementPolicy{ | |
| MinTime: 10 * time.Second, | |
| PermitWithoutStream: true, | |
| } |
StopAllExternalDrivers() in main.go normally stops these processes, and the keep‑alive in the server.go should auto‑exit the driver after ~20s of inactivity, but manual testing shows it never terminates, suggesting the keep‑alive isn’t triggering.
EDIT: The keep-alive timeouts don't shut down the server automatically. We need our own logic to handle this.
Metadata
Metadata
Assignees
Labels
No labels