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

It is absolutely mind bending how many options ffmpeg has. I've been trying to convince it to use the old Radeon 2600 Pro graphics hardware acceleration. No luck finding the magic command yet! :)

code GIF

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

Why did no one tell me there was a v4.2.8 update for Mastodon!? I feel so let down.
(I kid, I kid. Love you all! Except Nazis. Screw you Nazis.)

https://github.com/mastodon/mastodon/releases/tag/v4.2.8

chris,
@chris@mstdn.chrisalemany.ca avatar

Upgrade complete.
In case you're wondering, after just over 1 year on my selfhost, the postgresql database for mastodon is 740MB. That's mostly me with a couple other users on this instance thrown in.
And continues to chug away. It has been solid.

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

GULP I did it! Just bought my first dedicated server hosting space! (Debian 12 - 32GB RAM - 4x1TB SATA RAID 10) with the intention of moving my @alberniweather website and other small sites currently hosted on shared space and dying regularly. $CAD60/mo.

Also might move this so can rest.

Thank you to everyone who shared suggestions on open-source web/server admin software.

VirtualMin and ISPConfig are the strongest candiates for me right now.

kumail nanjiani computers GIF

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

Having some internal network DNS issues with
Anyone have any good recommendations for replacing a Telus Fibre (Telus Wifi Hub https://www.telus.com/en/support/article/telus-wi-fi-hub-installation)router with a 3rd party that supports advanced stuff like DNS loopback? In addition to the home router I have a Mesh WIFI provided by Deco (TP-Link) M9 stations, and a TP-Link 28 port switch.

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

Yikes... now that I've fixed the issue with the bad post causing dead entries in Sidekiq, elasticsearch is destroying poor #footiMac as it catches up.

(Big thanks to @moira and @paul for the fix)

https://github.com/mastodon/mastodon/discussions/27968
#mastoAdmin #selfhost

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

I've decided that just to be consistent with the current recommendations at joinmastodon.org, I'm going to bring the total threads on #footiMac back up to 25. 10 each for the two processes handling default/ingress/push/pull queues, and 5 for the process handling mailer/scheduler. I've been watching the sidekiq live-poll screen and want to see if bringing them back up to 10 helps clear the queue a little faster as when I post, both queues used 5/5.
#selfhost #mastoAdmin #selfhosted

chris,
@chris@mstdn.chrisalemany.ca avatar

I have added this new setup to the services setup section (Step 10) in my little how-to on creating your own mastodon server from an old iMac.

https://chrisalemany.ca/2023/01/26/how-to-creating-my-own-selfhosted-mastodon-server-with-debian-on-an-old-imac/

#footiMac #Mastodon #SelfHost

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

I suspect #footiMac is getting a little overtaxed. But I am wondering if other #selfhosted #mastoAdmin 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?
#help #MastoHelp #Mastodon #SelfHost

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.

chris,
@chris@mstdn.chrisalemany.ca avatar

Tuned it once again, with advice from @esther as #footiMac has just 2 cores, I've combined the processes again, but into 2 rather than 6 to still take advantage of the two cores and to ensure the pull process isn't blocked. Workers are at 12 and 13 for the same total of 25 spread between the two processes. This brings the RAM usage/waste way down and back to around 700MB max when before it was 400MB and after the first tweak it was 1800MB.

chris,
@chris@mstdn.chrisalemany.ca avatar

OK, final tweak thanks to advice. I've created two processes to spread the load of default, ingress, push and pull and make sure they are not blocking each other and created one more process dedicated to mailer and scheduler as it is important that they have their own space and aren't blocked at all. I now have less total threads available at 15 as opposed to 25, only 34 database connections currently, but it makes sense that this makes better use of #footiMac 2 CPU cores while also ensuring it's not eating RAM and is dealing with how Mastodon splits up tasks efficiently.
This stuff is fun!
#selfhost #mastoAdmin

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

can confirm. The new fulltext search works great, and is awesome! I just searched for "footiMac" which I know only I use and it returned results very very quickly. I can go way back. Including to it's very first mention back in January!

This ability is so very important for the usability and attractiveness of Mastodon!

https://mstdn.chrisalemany.ca/@chris/109705623945932203

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

Hey guess what! I made my own Pixelfed server! Federating is always a challemge on your own so If you are on pixelfed I would really really apreciate you finding me and following. If you're not on pixelfed but would still like to help my new instance federate, please boost so I can find more people!
I am @chris
Thanks!
https://pixelfed.chrisalemany.ca/p/chris/603468068585402373

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

OOooohhhh Ya. Add another feather in 's cap. Now running both Mastodon and Pixelfed.
We'll see how these co-exist!

Big Shout out to @xavi
and @BigMalCampbell for the timely tips that overcame a sneaky setting.

https://pixelfed.chrisalemany.ca

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

For a whole host of reasons that don't really have anything to do with pictures, I've never been interested in Instagram. Pixelfed, however, that's interesting, for a whole host of reasons, including pictures. And so now that is a veritable beast.
Time to investigate If anyone has suggestions on how best to manage having a Mastodon and PixelFed instance on the same machine, please let me know.
https://docs.pixelfed.org/running-pixelfed/installation/

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

I’m... back? :)

chris,
@chris@mstdn.chrisalemany.ca avatar

Yay! Everything looks to be working. Most importantly the database. I made the mistake of using cp rather than rsync to copy the files over so that process didn't complete fully but it appears to be just fine doing that at the same time as it is serving up new stuff! Other than that, and the fact there are a ton of files and the old Hard Drive is very slow. Things are good! Did a full reinstall and then moved over the essentials via USB. #footiMac is faster, stronger! #selfhosted #mastoadmin

The glass lying to the side. With the SSD drive adapter beside it.
My son removing the old hard drive from the centre of the iMacs logic board and other modules.
The hard drive out on the table. SSD is visible to the left. iMac ready to be receive.

chris,
@chris@mstdn.chrisalemany.ca avatar

This 2009 iMac #footiMac has a new lease on life. It's working hard to copy over the huge number of caches from the backup but it's not skipping a beat thanks to the SSD and look at that RAM/MEM usage. 🥹
This machine is gonna be a super star.
#selfhost #mastoadmin #selfhosted

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

Ooohh! just got a present in the mail! Anyone wanna upgrade? Also. If folks have best strategies for full backup and restore of a Mastodon instance beyond what is on the docs, please do let me know! Also moving from 500GB HDD to 2TB SSD. The iMac is running Debian natively.

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

Definitely sensing my little 2009 #footiMac under the stairs is starting to strain with 3 users on the instance. Getting lots of 500 errors. It is close to using up its 4GB RAM and the spinning HDD is slow. I want to keep #selfhosting with a physical machine at minimum expense.
Options:

  1. upgrade the iMac to a 2TB SSD and 8GB RAM ($CAD220)
  2. Get another Pi? Not sure which model.
  3. Optimize(Where)?
  4. Other options.
    Am leaning to 1) and 3)
    Suggestions welcome.
    #selfhost #mastoAdmin #selfhosted
chris, to Pixelfed
@chris@mstdn.chrisalemany.ca avatar

Could someone explain #Docker to me? How self contained is it? I would like to run my own #Pixelfed instance alongside my #Mastodon instance (on the same machine preferably). Possible? Bad idea? Would Docker make this easier? Thanks. #selfhost #mastoAdmin #selfhosted #footiMac

chris, to random
@chris@mstdn.chrisalemany.ca avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • thenastyranch
  • tacticalgear
  • khanakhh
  • Youngstown
  • rosin
  • slotface
  • everett
  • vwfavf
  • ngwrru68w68
  • kavyap
  • ethstaker
  • DreamBathrooms
  • Leos
  • magazineikmin
  • Durango
  • modclub
  • InstantRegret
  • osvaldo12
  • GTA5RPClips
  • normalnudes
  • anitta
  • cubers
  • tester
  • cisconetworking
  • provamag3
  • JUstTest
  • All magazines