2
submitted 1 year ago* (last edited 1 year ago) by JoshNautes@lemmy.ml to c/selfhost@lemmy.ml

I"m relatively new to self-hosting and I have an instance on Oracle cloud with a few apps that I run. More recently this instance is becoming unresponsive every 30 minutes or so. It becomes impossible to SSH to it and any connection to it is dropped. Oracle Cloud says that it is unresponsive, forcibly rebooting it fixes the issue until it becomes unresponsive again in 30 minutes. I believe the most major thing I did since this started was installing Java and doing an "apt update" followed by "apt upgrade" after many months of not doing it. I have tried to turn off every service that I have running using pm2 and systemctl. No luck. Are there any tools that I can use to better understand why it is freezing like that?

Edit: I ran the following command systemctl --type=service --state=running And noticed there was a Gnome Display Manager that was running and I wasn't using it. After disabling this service with systemctl disable [servicename] The server stopped crashing. Thanks for all the replies!

you are viewing a single comment's thread
view the rest of the comments
[-] Iain@fed.rosssi.co.uk 1 points 1 year ago

I used some Java services in docker on thier free tier and found them to be big memory hogs. Have a look at the logs for OOM errors (Out of Memory?).

If you are using thier free tier thier arm offering has more memory (assuming what you are running would run under arm).

this post was submitted on 23 Aug 2023
2 points (100.0% liked)

Self Hosted - Self-hosting your services.

11419 readers
2 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS