Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. high CPU usage on Synapse

high CPU usage on Synapse

Scheduled Pinned Locked Moved Matrix (Synapse/Element)
4 Posts 2 Posters 765 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dima
    wrote on last edited by
    #1

    Good day and a happy new year,

    we are facing a issue with cloudron performance and find out the reason with Matrix/Synapse.
    Without interruption it shows:
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    149 cloudron 20 0 3276808 312768 19816 S 96.7 1.9 6123:36 python3
    restart, more memory - nothing helps.

    Anybody out there with a hint,what we can ceck and fix?

    kind regards
    dirk

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      Anything in the logs? But I think it's document somewhere upstream that with lots of federation, memory usage and CPU will be high.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        See https://github.com/element-hq/synapse/blob/master/docs/usage/administration/admin_faq.md?plain=1#L223

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dima
          wrote on last edited by
          #4

          Hi,
          in logs I can find nothing, federation is off.
          I had a look at the website and add to homeserver.yaml:
          caches:
          global_factor: 2.0
          per_cache_factors:
          get_users_who_share_room_with_user: 2.0
          sync_response_cache_duration: 4m
          cache_autotuning:
          max_cache_memory_usage: 4096M
          target_cache_memory_usage: 1516M
          min_cache_ttl: 30m

          Then I deleted approx. 400 unused rooms, but nothing helps.
          I guess it is related to presence. There are 186 users, not too much.

          Maybe we move Matrix/Element to separate hardware.

          greetings
          dirk

          1 Reply Last reply
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search