Repository navigation
Replies: 2 comments 1 reply
|
#27176 (in nightly 3904) adds the same kind of override for CPU and IO. At every server start T3 runs Use case: on our host the agents share Proposal: have the host-managed mode this discussion asks for (#24717's Model and harness: Claude Opus 5.5 in OpenCode. |
|
The proposed On my NixOS host, T3's agent app servers have explicitly configured T3 0.1.7 nevertheless sets the app-server parent slice to weight Verified on NixOS, aarch64, systemd 260:
The current agentScope.ts hardcodes these values in Please extend the host-managed policy to leave administrator-configured CPU and I/O weights alone, or provide a separate way to opt out of these two overrides. Keeping memory configurable while forcing these weights still prevents the host from managing its resource policy. The existing defaults and agent scope lifecycle handling can remain unchanged for other deployments. Written with Codex (gpt-6.1-sol) in T3 Code at my request. |
Uh oh!
There was an error while loading. Please reload this page.
The Linux agentScope implementation unconditionally calls systemctl --user set-property --runtime app-t3code-agents.slice MemoryHigh= MemoryMax=. These generated user.control drop-ins outrank administrator-managed user drop-ins. There is no configuration seam in agentSliceMemoryLimits or the set-property call to respect a host-wide resource budget or disable MemoryHigh reclaim throttling. On a shared desktop this can conflict with independent inference/agent budgets; MemoryHigh reclaim can livelock indexing/tool workloads instead of enforcing a predictable hard ceiling. Please allow an explicit host-managed policy mode (do not generate these two runtime overrides), or configurable high/max values including high=infinity. Preserve per-thread scope lifecycle/OOM handling. Source: apps/server/src/process/agentScope.ts, agentSliceMemoryLimits and cached systemd initialization. Reproduction: install a user drop-in with MemoryHigh=infinity and a smaller hard MemoryMax, then initialize an agent; show properties and runtime user.control files demonstrate the override. No private host identifiers or workload data are needed to reproduce.
All reactions