Benchmarking harness for local LLM inference servers.
Raw Developer Origin & Technical Request
GitHub Issue
Nov 27, 2026
## Problem
`bench/bench2.py` restarts an arm when a request fails and its launcher has exited. That branch overwrites `proc` with a new process without first calling `stop()` on the old process group. A wrapper can exit while its actual HTTP server is still running, so that server remains alive after the benchmark finishes and overlaps the replacement server.
The harness is designed to run only one large model server at a time; retaining the previous group can keep its model memory allocated during the replacement's startup.
## Reproduction
On current main `c3de377074dd8d5f4c9cb0819b6a9bc09f95acef`, run the real `bench2.py` CLI against a local HTTP fixture launched by a wrapper. The fixture serves health and warmup normally, then kills only its launcher and returns HTTP 503 for the first measured request. The benchmark starts a replacement and completes the second request. At replacement startup, the previous HTTP server is still alive; `/proc` reports 13,568 KiB RSS for this lightweight fixture. It is also left running after the benchmark exits.
Both ordinary children and children that ignore SIGTERM reproduce this. This uses real child processes, process groups, sockets, HTTP requests, and the production CLI, without a model.
## Expected behavior / proposed fix
Before replacing the exited launcher, stop its owned process group using the existing `stop(proc)` helper, then start the replacement. Keep request-error recording and successful subsequent requests unchanged....
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from opensetlabs/openset-llm.
Frequently Asked Questions
Market intelligence mapped to Benchmarking harness for local LLM inference servers..
What is the technical positioning of Benchmarking harness for local LLM inference servers.?
What architecture is tied to Benchmarking harness for local LLM inference servers.?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like arm and wrapper in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- arm: 49 records
- wrapper: 18 records
- launcher: 16 records
- sockets: 9 records
- HTTP server: 6 records
- /proc: 3 records
- process group: 2 records
- SIGTERM: 2 records
- bench/bench2.py: 1 records
- stop(): 1 records
- model memory allocated: 1 records
- c3de377074dd8d5f4c9cb09f5acef: 1 records
- HTTP fixture: 1 records
- HTTP 503: 1 records
- 13,568 KiB RSS: 1 records
- ordinary children: 1 records
- process groups: 1 records
- production CLI: 1 records
SaaS Metrics