@graf @Jessica oh yeah I've taken GLC down a few times because I went on a webm posting spree and that caused well over 50 transcoding jobs to all be running at once.
Iirc mastodon is nice enough to run the transcoding jobs with a nice value of 19 so it really shouldn't interfere with anything but when you're trying to transcode 50 HD videos at once that's a lot of RAM...
I'm pretty sure all the transcoding jobs filled up the RAM and caused
@matrix's server to lock up.
Now, iirc if it can't transcode the video in like 3 minutes it gives up and just cancels the transcoding job but when you're SJW you can easily post well over 100 webms in that timeframe.
It wouldn't surprise me if mastodon uses /tmp to store the webms until they're transcoded (or at least copies them there before working on them. Probably even writes the transcoded output there before copying it back too) which would eat through yet even more RAM.
No support for hardware transcoding either.