this post was submitted on 22 May 2024
7 points (88.9% liked)

Aotearoa / New Zealand

1656 readers
5 users here now

Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general

Rules:

FAQ ~ NZ Community List ~ Join Matrix chatroom

 

Banner image by Bernard Spragg

Got an idea for next month's banner?

founded 1 year ago
MODERATORS
 

Last weeks thread here

Welcome to this week’s casual kōrero thread!

This post will be pinned in this community so you can always find it, and will stay for about a week until replaced by the next one.

It’s for talking about anything that doesn’t justify a full post. For example:

  • Something interesting that happened to you
  • Something humourous that happened to you
  • Something frustrating that happened to you
  • A quick question
  • A request for recommendations
  • Pictures of your pet
  • A picture of a cloud that kind of looks like a hippo
  • Anything else, there are no rules (except the rule)

So how’s it going?

you are viewing a single comment's thread
view the rest of the comments
[–] Dave 2 points 6 months ago (8 children)

Yeah, I have a tracker (Uptime Kuma) that's testing every minute. There has been failures or time outs every day for the last week or so, but it was much better before that. I'm not sure what's changed that's caused the issue.

There have been 6 separate outages today, and it needs two checks in a row to fail to count it as an outage. Though most have only been a few minutes.

If anyone has suggestions on how to troubleshoot, I'm listening!

[–] BalpeenHammer 3 points 6 months ago (7 children)

What are you tracking? Where are you hosting? What kind of monitoring do you have in place?

[–] Dave 2 points 6 months ago (6 children)

Just tracking HTTP status of lemmy.nz. Host is in an Auckland datacenter, but I don't control it, it's hosted by the guys at fediservices.nz. Monitoring is minimal, other than the up/down I've gotta dive into logs.

[–] BalpeenHammer 3 points 6 months ago (1 children)

I would start by setting up some sort of a monitoring system that tracks your memory usage, disk I/O, CPU etc. There are many packages out there for that. I don't know what lemmy is written in but chances are there are also application monitoring you can wire in too like Sentry https://sentry.io/welcome/

Of course I don't know how your app is being hosted by fediservices. I don't know if you have shell access or can install any apps or whatever.

[–] Dave 2 points 6 months ago* (last edited 6 months ago) (1 children)

Oh sorry, should have mentioned they have it hosted on proxmox and I have access to view the dashboard. I can see the resource usage you mentioned including history.

I have access to and full control over the proxmox container, but don't have any specific monitoring outside of the logging.

Unfortunately neither the resource usage nor the logs have given away anything. Resource usage is often all over the place. CPU spikes are common and always have been, and whenever there is downtime it's followed by a resource spike as federation catches up. Plus, federation is pretty random, especially when kbin fires a bunch of stuff at lemmy.world and messes everyone up.

Over the course of today I've done a lot of log reading, and I have identified one possible problem and made a tweak tonight. Time will tell if it helps.

Today was also particularly rocky as the host had various spots of downtime, mixed in with lemmy being down at times. I'll keep monitoring tomorrow and see if it's better, today was particularly bad.

[–] BalpeenHammer 3 points 6 months ago (1 children)

If the federation is done by a helper app then it may be possible to throttle it. At least it wouldn't choke out the machine and slow down other running processes.

[–] Dave 2 points 6 months ago (1 children)

The federation doesn't generally seem to be a problem, but many of the large instances do run inbound federation in a separate container.

My problem has been that I haven't managed to narrow it down to a component, so splitting out the containers may not help me troubleshoot. It's definitely on my list of things to try though, if I don't manage to narrow it down.

Currently we have had a run of 5 hours with no outages! So we are doing much better than yesterday. But I suspect that's probably just the host solving their issues.

[–] BalpeenHammer 3 points 6 months ago (1 children)

Maybe the host was the problem in the first place!

[–] Dave 2 points 6 months ago

To my knowledge, the host issues were only yesterday. The problems over the week or more before that were probably not a problem with the host. But now those are solved I can get back to trying to solve the original issue 😅

load more comments (4 replies)
load more comments (4 replies)
load more comments (4 replies)