-
released this
2026-11-28 19:36:10 +01:00 | 5 commits to master since this releaseStabbypossum 1.4.31 "KINDJAL" lowers the CPU an idle server uses: the HTTP workers now wait for a connection instead of waking twenty times a second.
Install
Run the image from Docker Hub: loweel/stabbypossum.
This release ships no binaries. The source archive is attached below.
Idle HTTP workers sleep
In production the base CPU, 3 to 5% with or without traffic, came from the 16 HTTP workers. With no connection, each one looked at the listening socket for 50 ms and started again: some 320 empty wake-ups a second, spent mostly in the kernel.
Now:
- a worker with no connection waits up to a second for one;
- a new connection still wakes it at once, so answers are not slower;
- with connections open it works as before, every 50 ms, so the limits against slow clients are unchanged;
- stopping the server wakes every worker at once through a small pipe, so shutdown is still immediate.
If that pipe cannot be made, an ERROR line says so and the workers work as before.
Tests
The full smoke passes on the test image and on the production image. SPARK proves everything, and the unit tests pass.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download