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. Mastodon
  3. Reducing CPU usage for a small Mastodon instance

Reducing CPU usage for a small Mastodon instance

Scheduled Pinned Locked Moved Mastodon
cpuresourcesoptimization
4 Posts 2 Posters 898 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.
  • P Offline
    P Offline
    pauljacobson
    wrote on last edited by
    #1

    Hi all. I'm a relatively new instance admin. My instance is running on Linode using a Cloudron app install. I noticed that my CPU usage is consistently pretty high. I only have two users on the instance so this seems to be as a result of a poor configuration on my part.

    My server has 4 cores, 8GB of RAM. Can anyone recommend ways to make my instance more efficient. I'm also a little new to resource management, so I'll appreciate somewhat specific suggestions.

    An example of my CPU usage

    girishG 1 Reply Last reply
    0
    • P pauljacobson

      Hi all. I'm a relatively new instance admin. My instance is running on Linode using a Cloudron app install. I noticed that my CPU usage is consistently pretty high. I only have two users on the instance so this seems to be as a result of a poor configuration on my part.

      My server has 4 cores, 8GB of RAM. Can anyone recommend ways to make my instance more efficient. I'm also a little new to resource management, so I'll appreciate somewhat specific suggestions.

      An example of my CPU usage

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @pauljacobson I would check which process is consuming to much CPU. If you ssh into the server and run top , what do you see?

      P 1 Reply Last reply
      2
      • girishG girish

        @pauljacobson I would check which process is consuming to much CPU. If you ssh into the server and run top , what do you see?

        P Offline
        P Offline
        pauljacobson
        wrote on last edited by
        #3

        @girish Hi there. I did some digging, and it looks like the main culprit was a Mail service running in the Docker container. It was running consistently at 100% CPU usage. I stopped that process and this seems to have dropped my overall CPU usage.

        Thanks for getting back to me about this!

        girishG 1 Reply Last reply
        1
        • P pauljacobson

          @girish Hi there. I did some digging, and it looks like the main culprit was a Mail service running in the Docker container. It was running consistently at 100% CPU usage. I stopped that process and this seems to have dropped my overall CPU usage.

          Thanks for getting back to me about this!

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @pauljacobson ah yes, the fix for haraka is coming. I recently submitted a patch upstream for this which has now been merged - https://github.com/haraka/Haraka/pull/3104 .

          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