Skip to content

fix(guacamole): raise authority renewal workers and session capacity - #2985

Merged
Brad-Edwards merged 2 commits into
devfrom
fix/guac-authority-renewal-capacity
Nov 19, 2026
Merged

Brad-Edwards merged 2 commits into
devfrom
fix/guac-authority-renewal-capacity

Conversation

@Brad-Edwards

Copy link
Copy Markdown
Collaborator

Problem

On the live event tenant, Guacamole sessions dropped and new RDP sessions failed for about 200 participants.

  • The authority extension renews each lease with four workers. Each control call takes about 0.75 seconds, so throughput was about 6.7 calls per second.
  • Leases that are not renewed in 90 seconds expire, and Guacamole closes the session.
  • The extension admits at most 512 sessions. The portal recorded 581 open sessions, so new sessions failed with "Gateway authority unavailable".

Change

  • Set 16 renewal workers (was 4).
  • Set the session bound to 2048 (was 512).
  • The lease lifetime (90 seconds) and the renewal interval (15 seconds) do not change. Revocation latency does not change.
  • Update the README and content-range-authority.md with the new bounds.
  • Add tests for the capacity bound and for parallel renewals up to the worker bound.

Verification

  • mvn verify in shifter/engine/guacamole/authority-extension passes.

The authority extension renewed every lease with four workers. Each control
call takes about 0.75 seconds under event load, so renewal throughput was
about 6.7 calls per second. With about 200 participants, leases expired
before renewal and Guacamole closed active sessions. The 512-session bound
also refused new sessions ("Gateway authority unavailable").

Set 16 renewal workers and a 2048-session bound. The lease lifetime and the
15-second renewal interval do not change, so revocation latency does not
change.
@Brad-Edwards
Brad-Edwards merged commit c4c168d into dev Nov 19, 2026
99 checks passed
@Brad-Edwards
Brad-Edwards deleted the fix/guac-authority-renewal-capacity branch November 19, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant