t2bot / matrix-media-repo

Highly configurable multi-domain media repository for Matrix.

Home Page:https://docs.t2bot.io/matrix-media-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runaway CPU usage and goroutine count

turt2live opened this issue · comments

It's unclear what causes this, but 2 large instances have fallen victim to this behaviour.

Symptoms:

  • Lots of CPU being used (potentially crushing the host)
  • Exponential increase in goroutines

There's some pointers in Sentry and the related CPU profiles that MMR is looping on an error, potentially related to uploads and caching.

Fixed by #483