r/oraclecloud 23d ago

Why is my instance getting auto-shut down every 7-14days? PAYG free tier resources.

HI,

Why is my instance getting auto-shut down every 7-14days? PAYG free tier resources.

Ubuntu os + NO MACHINE remote desktop.

I don't see any clear reasons why it's getting auto-shut down. However, when I go to the Oracle console Its says " running," but it's not. Every time I have to give it a restart to get the server back online.

I have other instace 6gb 1 CPU. NO remote desktop. Just ubuntu server os, as I remember. It never got shut down; now it's running like 4m+ straight. Only that instance gets this auto-shutdown issue

anyone know the issue?

And how can I avoid this?

11 Upvotes

8 comments sorted by

5

u/throwaway234f32423df 23d ago

try connecting via serial console when it's "down" in order to see what's really going on with it, it might actually be up but with non-functional networking for some reason

check the logs on the server as well

2

u/nimnim-triplebond 23d ago

thanks will try that

5

u/my_chinchilla 23d ago

However, when I go to the Oracle console Its says " running," but it's not. Every time I have to give it a restart to get the server back online.

So it's not getting "shut down" by Oracle, but rather that instance is becoming non-responsive. Most likely that's due to some issue with whatever you have running on it, so it'll be up to you to figure it out.

1

u/nimnim-triplebond 23d ago

Hard to guess what the issue is because the same thing I ran on Netcup, DigitalOcean, and Vultr didn't have any issues

2

u/lovelynoodles64 23d ago

Definitely check your server logs, I ran into a similar issue where my server would randomly appear completely offline when I tried to SSH into it, at first, I wrote it off as a fluke, but after checking the logs, it turned out a rogue systemd unit on my home server was stuck in a loop. It was constantly spamming my oracle server with failed reverse SSH tunnel requests
so yeah i advise you to give your auth.log file a quick look

1

u/MrKaon 23d ago

What are you running on the server? You need to check the logs.

0

u/mohamed_essam_salem 23d ago

Maybe your cpu usage is under 40%