Difference between revisions of "2018/06/22"

From Mew
Jump to navigation Jump to search
(Created page with "This isn't the first time this has happened... outgoing toots are being delayed by something like 1.5-2 hours. Last time, we upped the number of threads from 15 to 25 (accordi...")
 
Line 7: Line 7:
 
* changing <code>sidekiq -c 25</code> to <code>sidekiq -c 40</code>
 
* changing <code>sidekiq -c 25</code> to <code>sidekiq -c 40</code>
  
...and rebooting.
+
...and rebooted (which wasn't strictly necessary, but the system was asking for one because of a kernel upgrade some days ago).

Revision as of 00:11, 23 June 2018

This isn't the first time this has happened... outgoing toots are being delayed by something like 1.5-2 hours. Last time, we upped the number of threads from 15 to 25 (according to my memory; apparently we didn't document it), and that seemed to fix the blockage.

So this time, I'm making notes.

Editing /etc/systemd/system/mastodon-sidekiq.service:

  • changing DB_POOL=5 to DB_POOL=20
  • changing sidekiq -c 25 to sidekiq -c 40

...and rebooted (which wasn't strictly necessary, but the system was asking for one because of a kernel upgrade some days ago).