You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Review MaxClientCircuitsPending 64 and per-service Tor dial budgets against upstream advice #4263
P3-hardeningDefence in depth. Meter-gated: only taken when the 7-day meter is under targetappliancePithead OS appliance work — image, installer, RAUC updatesblockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or requestsize:SSized S against one local session
#4088 (from the #4078 guard rail) raised MaxClientCircuitsPending to 64 and lowered monerod's default out-peers. Upstream Tor developers advise against raising the pending cap, because a client in trouble then pushes twice as many circuit builds into a stressed network. One Tor process also carries every workload:
monerod's outbound P2P through exits;
Tari and P2Pool onion dials;
dashboard probes and update checks;
several onion services.
A develop stack with the new cap still lost Tari connectivity behind a stale consensus on 2026-11-19.
What it impacts
How often Tor saturates on busy appliances, and the Tor network load each appliance adds when it is wedged.
How I found it
A review of the Tor configuration after two wedges on 2026-11-19, against upstream Tor tickets on the pending-circuit limit.
How important is it
Medium. Tuning lowers frequency but does not cure a wedge. The self-heal issue covers recovery.
Acceptance criteria
A documented decision on the pending cap (keep 64, return to 32, or make it adaptive), with the reasoning.
Per-service dial budgets are reviewed: monerod out-peers including explicit configs, and Tari outbound dials.
The Tor version floor is enforced, 0.4.9.17 or newer, and shown in diagnostics.
A measurement from the Tor diagnostics issue backs the decision.
Possible solutions
Measure pending-circuit composition with the diagnostics first, then adjust.
Cap Tari's simultaneous outbound dials if HSDir lookups dominate.
Grouped with #4012, but PR #4616 does not close it: Its acceptance criteria need a measurement from the Tor diagnostics work before a pending-cap decision can be made, and it needs its own tier-4 proof; left for a later session.. Released for its own pick.
Blocked on #4674. The branch is pushed at 9ea7385, but no tier-4 e2e can run on this head until develop's Tor image builds again. Build image (tor) is red on develop because Alpine retired tor=0.4.9.17-r0; that is #4674/#4677, and the pin bump to 0.4.9.18-r0 sits in #4668. The verifier found a real hole in the #4598 fix, now fixed. A stopped container dropped out of the LAN watch whatever bind it was created with. It is now judged by its configured bind, with three new assertions. Local checks pass: make lint-file-budget, make lint-pithead-build, the tor-bump self-test, shellcheck, and shell test block 2 (17 reds, none in this change). #4263 is not complete: the version floor (build and pin-bump tool), the version in the support bundle, and the cap decision (keep 64) are done. Not done: a measurement from Tor diagnostics, and any Tari dial cap, because no measurement exists yet and the docs defer both to it. Leaving #4338 out; I did not read it beyond its text, but it is about the realupgrade battery phase. Once #4668 merges, bring develop in and run tier4-e2e targeted, covering Tor and the LAN guard. I commented on PR #4675 with the same blocker. Open decision for the owner: accept the documented deferral for the #4263 measurement, or keep the issue open for it.
The runner resumes this issue when that one closes.
P3-hardeningDefence in depth. Meter-gated: only taken when the 7-day meter is under targetappliancePithead OS appliance work — image, installer, RAUC updatesblockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or requestsize:SSized S against one local session
Activity
pithead-developer commentedon Nov 27, 2026
Grouped with #4012, but PR #4616 does not close it: Its acceptance criteria need a measurement from the Tor diagnostics work before a pending-cap decision can be made, and it needs its own tier-4 proof; left for a later session.. Released for its own pick.
tor: fix #4263 — enforce the 0.4.9.17 floor and keep the 64 pending cap
pithead-developer commentedon Dec 4, 2026
Blocked on #4674. The branch is pushed at 9ea7385, but no tier-4 e2e can run on this head until develop's Tor image builds again.
Build image (tor)is red on develop because Alpine retiredtor=0.4.9.17-r0; that is #4674/#4677, and the pin bump to 0.4.9.18-r0 sits in #4668. The verifier found a real hole in the #4598 fix, now fixed. A stopped container dropped out of the LAN watch whatever bind it was created with. It is now judged by its configured bind, with three new assertions. Local checks pass:make lint-file-budget,make lint-pithead-build, the tor-bump self-test, shellcheck, and shell test block 2 (17 reds, none in this change). #4263 is not complete: the version floor (build and pin-bump tool), the version in the support bundle, and the cap decision (keep 64) are done. Not done: a measurement from Tor diagnostics, and any Tari dial cap, because no measurement exists yet and the docs defer both to it. Leaving #4338 out; I did not read it beyond its text, but it is about the realupgrade battery phase. Once #4668 merges, bring develop in and runtier4-e2etargeted, covering Tor and the LAN guard. I commented on PR #4675 with the same blocker. Open decision for the owner: accept the documented deferral for the #4263 measurement, or keep the issue open for it.The runner resumes this issue when that one closes.