Skip to content

Traefik is using a lot of RAM and occasionally restarts. #4228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vnavalianyi opened this issue Apr 3, 2025 · 3 comments
Open

Traefik is using a lot of RAM and occasionally restarts. #4228

vnavalianyi opened this issue Apr 3, 2025 · 3 comments
Labels
question This issue is a question related to installation

Comments

@vnavalianyi
Copy link

vnavalianyi commented Apr 3, 2025

Playbook Configuration:

My vars.yml file looks like this:

matrix_domain: 
matrix_homeserver_implementation: synapse
matrix_homeserver_generic_secret_key: ''
matrix_playbook_reverse_proxy_type: playbook-managed-traefik
traefik_config_certificatesResolvers_acme_email: ''
traefik_version: v3.3.1
traefik_config_log_level: WARN
postgres_connection_password: ''
matrix_synapse_admin_enabled: true
matrix_coturn_turn_static_auth_secret: ''
matrix_homeserver_generic_secret_key: ''
matrix_homeserver_federation_enabled: false
# matrix_sliding_sync_enabled: true

postgres_backup_enabled: true

prometheus_enabled: true
prometheus_node_exporter_enabled: true
prometheus_postgres_exporter_enabled: true
grafana_enabled: true
grafana_anonymous_access: false
grafana_default_admin_user: ""
grafana_default_admin_password: ""

matrix_synapse_usage_exporter_enabled: true

backup_borg_enabled: true
backup_borg_location_repositories:
 - ssh:./repo
backup_borg_storage_encryption_passphrase: ""
backup_borg_ssh_key_private: |
  -----BEGIN OPENSSH PRIVATE KEY-----
  -----END OPENSSH PRIVATE KEY-----

backup_borg_storage_archive_name_format: backup-borg-{now:%Y-%m-%d-%H%M%S}
backup_borg_retention_keep_hourly: 0
backup_borg_retention_keep_daily: 7
backup_borg_retention_keep_weekly: 4
backup_borg_retention_keep_monthly: 12
backup_borg_retention_keep_yearly: 2

Matrix Server:

  • OS: Ubuntu 24.10"
  • Architecture: amd64
  • Cloud: DigitalOcean

Problem description:
Hi, my Traefik is using a lot of RAM and occasionally restarts and users get error:
❗ Some of your messages were not sent
You can select all or individual messages to retry or delete

Additional context

Image

Image

@vnavalianyi vnavalianyi added the question This issue is a question related to installation label Apr 3, 2025
@luixxiul
Copy link
Collaborator

luixxiul commented Apr 7, 2025

I noticed the similar kind of RAM usage spike when I select a bunch of inactive users (~ 500) on Synapse Admin created by bridges to delete them all at once. Restarting Traefik did reset the RAM usage, so it was temporarily issue as it repetitively occurred.

@vnavalianyi
Copy link
Author

I noticed the similar kind of RAM usage spike when I select a bunch of inactive users (~ 500) on Synapse Admin created by bridges to delete them all at once. Restarting Traefik did reset the RAM usage, so it was temporarily issue as it repetitively occurred.

Thanks for answer. I’m seeing this issue several times a day: Traefik gradually consumes more RAM over time until it hits a limit and restarts. And I’m not doing anything in the admin panel.

@altsalt
Copy link
Contributor

altsalt commented Apr 9, 2025

Hmm, I've been having a lot of disconnections recently and think this may be related. Will try adding Synapse Admin and deleting the bridged users to see if that addresses it.

edit: wow, I had over 3000 deactivated bridge users. Lots are from a private IRC server so unsure how they got in there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue is a question related to installation
Projects
None yet
Development

No branches or pull requests

3 participants