Skip to content

Commit

Permalink
docs: add docs about Zeus rate limiting to the operational guide (Bug…
Browse files Browse the repository at this point in the history
… 1821713)
  • Loading branch information
cgsheeh committed Mar 10, 2023
1 parent 93ebb90 commit de55d00
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/hgmo/ops.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,22 @@ without manual intervention. If memory usage has spiked as a result of increased
number of connections, administrators can run ``sudo apachectl graceful`` to
gracefully restart httpd.

Zeus Rate Limiting
------------------

Zeus has some rate limiting rules defined for hgweb.

- Rates are defined in the "Rates" section in Zeus.
- Catalogs > Rates > "hg-rate"
- A value of 0 for a rate means "do not use this rate".
- Rates are used in "Rules".
- Services > hg.mozilla.org-https > Rules > Edit > hgweb-rate-rule
- There you can see the content of the rule, which references the rate.
- Rules are applied to the virtual server.
- Use the "Enable"/"Disabled" checkbox to activate/deactivate the rule.
- Viewing the effect of the rate limiting rule is possible from the activity view.
- Activity > Current Activity > Chart data > "Rate Limit Queue HG" > Plot

Forcing a hgweb Repository Re-clone
===================================

Expand Down

0 comments on commit de55d00

Please sign in to comment.