Sidekiq Startup Threads / Processes
-
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 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?
-
@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.