chris, to selfhosted
@chris@mstdn.chrisalemany.ca avatar

I suspect is getting a little overtaxed. But I am wondering if other have a thought about these messages in Sidekiq for dead processes? Too many files open, on my end or the remote end?

Is there maybe a FAQ available for small admins like me to look to that might show the most common indicators of problems on a Mastodon host?

I remain concerned that Java/Elastisearch is putting more load on my server than is really warranted. Thoughts?

chris,
@chris@mstdn.chrisalemany.ca avatar

I took the example from the resource linked before. This was my procedure:

  1. I increased the sidekiq process to allow 75 instead of the default 25 workers. This helped, but it was still full and only going down slowly.
  2. Then I split out the processes (by duplicating the systemctl file and make one each for the ingress, push+pull, default, scheduler, and mailers. All had 75 workers. It turned out only the pushpull service was pinned to that 75 and database connections went to over 200.
  3. So I split the push and pull into separate processes and realized it was all on the pull process. All other processes were very low.
  4. Finally, I reduced the number of workers back down to 25 for all processes except the pull process. RAM usage has quadrupled from 400MB to 1700 but I had space there to grow into.

My server is now back to a good place, database connections are below 50, nothing in the queue, and toots/notifications are going out instantly again.

And most importantly, I can once again handle all the news GottaLaff puts out! :D

#footiMac is all good once again.
#selfhost #mastoAdmin #selfhosted #smallAdmin #Mastodon

Screenshot of the PGHero screen for connections to the database shows 46 connections. A pie charts shows mastodon_production in blue taking up about 75% of the pie. Pixelfed is the next largest.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines