@Shadow@lemmy.ca

Infrastructure nerd, gamer, and Lemmy.ca maintainer

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Shadow,
@Shadow@lemmy.ca avatar

And yet people will plug in a random USB drive they find in the parking lot

Shadow,
@Shadow@lemmy.ca avatar

Hmm. If only it could all be done client side somehow, like maybe there should be a client side programming language for browsers? How cool would that be?

Shadow,
@Shadow@lemmy.ca avatar

Because they were the first to be rejected from all the mainstream sites, whereas all the normal people are still on reddit.

Shadow,
@Shadow@lemmy.ca avatar

Here, save you a click: Ratchet & Clank: Rift Apart

Shadow,
@Shadow@lemmy.ca avatar

Yeah our DB dropped from about 35gb to 8gb!

Shadow,
@Shadow@lemmy.ca avatar

Yeah I discovered that too. Already been reported here - github.com/LemmyNet/lemmy-ui/issues/1999

Shadow,
@Shadow@lemmy.ca avatar

Wouldn’t be hard to cobble together, but it’s hard to justify the price when the hardware reqs are really minimal.

Shadow,
@Shadow@lemmy.ca avatar

Please add support to not run as root!

I was going to bring this up on lemmy.ca but haven’t had time to submit a PR to fix the user ID first.

Shadow,
@Shadow@lemmy.ca avatar

Yes this, thanks!

Basically it’s not hard to break out of docker, I don’t want to run photon as root. If it gets hacked while running as root, it’s game over.

Shadow,
@Shadow@lemmy.ca avatar

A quick google tells me there were 3 vulns in 2022 allowing it. I’m not sure why you would argue for a horrible security practice under the excuse “it’s not common”. Even if it was only once every few years, the app doesn’t need root so it shouldn’t run as root.

Shadow,
@Shadow@lemmy.ca avatar

Touche.

Shadow,
@Shadow@lemmy.ca avatar

I have vague memories around that time of doing it, I think it took 3 days to compile IIRC.

Or maybe I’m thinking of early Gentoo installs…

Shadow, (edited )
@Shadow@lemmy.ca avatar

We seem to be missing about 20gb of our system memory. pastebin.com/teprs4qA

Let me know if you have any ideas. No it’s not cache, and there’s no ZFS on the system =)

Shadow,
@Shadow@lemmy.ca avatar

Never mind, figured it out. I turned on hugepages without setting it up properly.

https://lemmy.ca/pictrs/image/bdd31b7b-a27b-4faf-ac86-7c7cb8f7b225.jpeg

Look at all this beautiful free ram.

<pre style="background-color:#ffffff;">
<span style="color:#323232;">lemmy01 ~ # free -m
</span><span style="color:#323232;">               total        used        free      shared  buff/cache   available
</span><span style="color:#323232;">Mem:           31983        1491       20070         558       10421       29485
</span><span style="color:#323232;">Swap:           1023           3        1020
</span>
Shadow,
@Shadow@lemmy.ca avatar

status.lemmy.ca

The section at the top auto updates.

Shadow,
@Shadow@lemmy.ca avatar

Feel free to make requests if you see useful things that other instances are doing =)

Shadow,
@Shadow@lemmy.ca avatar

No, each is completely isolated from each other. They’d all have to support some shared SSO, which I can’t see anyone bothering to write TBH.

Shadow,
@Shadow@lemmy.ca avatar

Don’t thank me so much, it took me 5 minutes to install. The developer deserves all your appreciation since I’m sure it took them way longer.

Shadow,
@Shadow@lemmy.ca avatar

It’s not something we built, you’ll have to check the project site.

Shadow,
@Shadow@lemmy.ca avatar

Agreed. I personally think it’s ugly, there’s a reason I don’t own an iPhone

Shadow,
@Shadow@lemmy.ca avatar

The old interface

Shadow,
@Shadow@lemmy.ca avatar

No

Shadow,
@Shadow@lemmy.ca avatar

It might not be.

Shadow,
@Shadow@lemmy.ca avatar

Done!

Shadow,
@Shadow@lemmy.ca avatar

Thanks, I’ll add this one too!

Shadow,
@Shadow@lemmy.ca avatar

Just add it to your docker-compose file, then create a new /etc/nginx/sites-enabled/ vhost that points to the port you expose from docker.

Shadow,
@Shadow@lemmy.ca avatar

This container currently needs to be run as root, which I’m unwilling to do. I’ll see if I can patch it this weekend and submit a PR to fix it upstream.

Shadow,
@Shadow@lemmy.ca avatar

Some instances have their own status pages, we have status.lemmy.ca

The outage several instances faced this morning was from github.com/LemmyNet/lemmy/issues/3165

Shadow,
@Shadow@lemmy.ca avatar

OS you mean? Ubuntu server lts

Shadow,
@Shadow@lemmy.ca avatar

Please go ahead and add lemmy.ca!

Also I don’t think this is correct, shitjustworks just had an extended outage while they were doing config updates.

Shadow,
@Shadow@lemmy.ca avatar

The original issue is just a symptom of all database threads being tied up. People just don’t know how to follow an error message to the root cause.

The real source of the issue is db locking from triggers and cascading deletes on a major user change.

My report in github.com/LemmyNet/lemmy/issues/3649 has the offending query.

Shadow,
@Shadow@lemmy.ca avatar
Shadow,
@Shadow@lemmy.ca avatar

I just gave things a quick restart, but that didn’t help. @smorks pointed out that this will be coming in the next release and should hopefully help: github.com/LemmyNet/lemmy/pull/3617

Edit: Maybe I just spoke too soon, looks like my hot feed is better now…

Shadow,
@Shadow@lemmy.ca avatar

We’re still on the same one, but a restart resolved it that time.

Are you seeing this again?

Shadow,
@Shadow@lemmy.ca avatar

Join the club, I’m just as confused.🤣 There’s active work being done on Github improve it.

Shadow,
@Shadow@lemmy.ca avatar

Yeah I think this is to be expected, I agree we’ll probably see slower consistent growth from here

Shadow,
@Shadow@lemmy.ca avatar

I’ve enabled this again now.

Shadow,
@Shadow@lemmy.ca avatar

Uptime kuma we’d have to self host, and since we only have a single server today I’m not too keen on hosting the status page on the same infra as the site. What’s the point of a status page if it’s possibly down when the site is down?

We’re just on the free plan of better stack, it meets our minimal needs and didn’t take much time to get up.

Open to other alternatives if anyone can suggest any free cloud based ones, I just settled on better stack after trying out a few.

Shadow,
@Shadow@lemmy.ca avatar

Reply below fyi.

Shadow,
@Shadow@lemmy.ca avatar

Not easily atm, looks like I’d have to patch the lemmy-ui container.

I’ve been resisting manually patching things until I have more time, but yes I’d like to get support in for a custom error link.

Shadow,
@Shadow@lemmy.ca avatar

Can I ask for a minor tweak? On a black background the black outline just disappears, maybe toss a white border around the black to give it some definition on dark themes?

Shadow,
@Shadow@lemmy.ca avatar

Cheers!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines