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
  • Brite
  • 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 - Status | 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 1.7k 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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          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