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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Sidekiq Startup Threads / Processes

    Mastodon
    3
    6
    294
    Loading More Posts
    • 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.
    • M
      MichaelF last edited by

      Hey - my instance got seriously congested with the queue size.

      I was able to figure out how to manually add Threads and Processes but have not been able to find where I can go to add the number of Threads and Processes I want sidekiq to start up with.

      Can someone give me guidance here?

      Thanks!

      robi girish 2 Replies Last reply Reply Quote 0
      • robi
        robi @MichaelF last edited by

        @michaelf what do the docs say?

        Life of Advanced Technology

        M 1 Reply Last reply Reply Quote 0
        • M
          MichaelF @robi last edited by

          @robi The only thing I found so far was here:

          https://docs.joinmastodon.org/admin/scaling/

          It talks about how you have to manually run a command but there has to be something that tells it what to start with.

          I just havent been able to find it and so I got 4 terminal windows running so I can add 4 extra processes.

          Any suggesionts?

          robi girish 2 Replies Last reply Reply Quote 0
          • robi
            robi @MichaelF last edited by

            @michaelf Hmm, if you find where in /app/code sidekick runs from you may be able to change that command to include the additional arguments while in App recovery more. But that will not persist across app restarts/updates.

            Once you find the right place, @staff may be able to update the App package to accommodate launching with adjustable parameters and move it to /app/data.

            So gather as much info as possible to make their part easy. 😉

            Life of Advanced Technology

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @MichaelF last edited by

              @michaelf I am fixing the package to make it more configurable.

              1 Reply Last reply Reply Quote 1
              • girish
                girish Staff @MichaelF last edited by

                @michaelf in the new package there is a /app/data/config.sh that you can edit to tweak the settings . https://docs.cloudron.io/apps/mastodon/#scaling

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB