Files
felhom.eu/documentation/audits/evidence-agent-transport-leak-2026-08-20/p2-arithmetic.txt
T
admin 57dd62b097
gates / gates (push) Successful in 14s
R-344 fixed and proven on both boxes: ep0 is back to fd 17 from 415
P1, outcome (i) in one second: replacing the agent on demo-hp released
exactly its 199 established connections (ep0 fd 415 -> 216). CLOSE-WAIT
stayed 0, so outcome (ii) does not exist and gets no row -- ep0 reaps on
peer FIN correctly, and the 543 CLOSE-WAIT at the 08-18 wedge has another
explanation.

P2, 1.03 h (operator closed the >=4 h window early, so no daily rate is
extrapolated): control +4, fixed +0, with each box making exactly 4
/snapshots and 4 /version calls. Same cadence, same work: 4 cycles -> 4
leaks vs 4 cycles -> 0. The fixed box's cycles are in ep0's log, so the
zero is the fix and not a stopped agent.

P3: the second box took ep0 from 220 to 17 fd in under two seconds. 17 is
precisely the t0 baseline of 2026-08-18 09:51:22Z.

Corrects a claim this session made earlier the same day: the accumulated
descriptors did NOT need an ep0 proxy restart. They were held on both
sides. ep0 was read-only throughout; its PID never changed.

R-344 updated and left OPEN (unpublished is not delivered). R-336
re-scoped -- its old next-step would have fixed nothing while looking like
a failed fix, and it is now a scaling row (~25 req/s at fifty customers).
R-347 filed for the delivery gap (Viktor decides). R-348 filed: an agent
restart blanks the reported backup list for ~18 h and the Store comment
calls it unaffected -- blinds no alarm, checked not assumed.
2026-08-20 12:39:32 +02:00

35 lines
1.9 KiB
Plaintext

P2 ARITHMETIC — the divergence window
window 2026-08-20T09:15:47Z -> 10:17:52Z = 3725 s = 1.0347 h
NOTE: this is 1.03 h, NOT the >=4 h the task specified. The operator closed it early.
The conclusion below therefore does NOT rest on an extrapolated daily rate.
box agent start end delta per hour
demo-felhom (CONTROL) 0.129.0 199 203 +4 3.87
demo-hp (FIXED) 0.130.0 0 0 +0 0.00
PREDICTED (pre-registered, P2 table): control ~4/hour; fixed ~0.
OBSERVED: control 3.87/hour, fixed 0. Control matches the prediction.
THE ASSUMPTION-FREE STATEMENT — matched opportunities, counted from ep0's access log:
Both agents made EXACTLY 4 GET .../snapshots calls and 4 GET /version calls in this window.
Same cadence, same work, same number of chances to leak.
control: 4 cycles -> 4 leaked connections
fixed : 4 cycles -> 0 leaked connections
No rate extrapolation is needed for that, and none is used.
Poisson: P(observing 0 leaks | the OLD rate, lambda=4) = e^-4 = 1.83%
On its own that is suggestive, not proof. It is not on its own:
- P1 released exactly 199 descriptors the instant the old process died;
- the mechanism is identified at file:line and pinned by a red-proofed unit test;
- the fixed box was directly observed returning to 0 connections 133 s after restart.
P3 — total rate with ONE box fixed
observed 92.8 fd/day (predicted ~100/day, from ~200/day with both boxes leaking)
Poisson on n=4 is +/-2, so the 2-sigma band is 0..186/day — the prediction sits inside it.
A 4-descriptor window cannot pin a daily rate tighter than that, and this does not pretend to.
CONTROL INTEGRITY: the two boxes' OTHER traffic is unchanged and near-identical in this window --
libwww-perl 924 (.2) vs 926 (.3); proxmox-backup-client 898 vs 898.
So the only thing that differs between them is the agent binary.