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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Sidekiq Startup Threads / Processes

Scheduled Pinned Locked Moved Solved Mastodon
6 Posts 3 Posters 310 Views
    • 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 Offline
    M Offline
    MichaelF
    wrote on last edited by
    #1

    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!

    robiR girishG 2 Replies Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to MichaelF on last edited by
    #2

    @michaelf what do the docs say?

    Life of sky tech

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    MichaelF
    replied to robi on last edited by
    #3

    @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?

    robiR girishG 2 Replies Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to MichaelF on last edited by
    #4

    @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 sky tech

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to MichaelF on last edited by
    #5

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

    1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to MichaelF on last edited by
    #6

    @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
    0

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.