anonymousland-synapse/synapse/metrics
Erik Johnston 1fb9a2d0bf
Limit how often GC happens by time. (#9902)
Synapse can be quite memory intensive, and unless care is taken to tune
the GC thresholds it can end up thrashing, causing noticable performance
problems for large servers. We fix this by limiting how often we GC a
given generation, regardless of current counts/thresholds.

This does not help with the reverse problem where the thresholds are set
too high, but that should only happen in situations where they've been
manually configured.

Adds a `gc_min_seconds_between` config option to override the defaults.

Fixes #9890.
2021-05-05 16:53:45 +01:00
..
__init__.py Limit how often GC happens by time. (#9902) 2021-05-05 16:53:45 +01:00
_exposition.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
background_process_metrics.py Merge branch 'master' into develop 2021-04-21 14:55:06 +01:00