I can SSH into my Oracle free VPS but after a while I find that the console is no longer working, and when I try to reconnect it doesn’t respond. I can still ping it, but even logging in to the website and trying to “Launch Cloud Shell Connection” doesn’t work, so it seems to be locking up completely after I SSH in, and I have to reboot it.

I’m only trying to use it as a reverse proxy with caddy, but it obviously needs to be reliable for that. There’s a few errors in the boot log, which I’ve pasted here, but I’m not sure if they’re important.

Oracle boot log - Pastebin.com

I’ve enabled Cockpit and the Services tab under that shows that kdump and SETroubleshoot failed to start. Should I just delete the instance and try creating a new one?

I followed this guide to setup the required rules for the VPS instance, and to create the iptables rules in the VPS, and to create the IPV4 and IPV6 A and AAA records on Cloudflare.

How to Host a Website in Oracle Cloud Free Tier (yoursunny.com)

then I followed Steps 2 and 3 in this more recent guide to create the caddy files

Install & Configure Caddy Web Server with PHP on Oracle Linux 8 (atlantic.net)

but even before the VPS stops working the caddy server doesn’t serve anything when I try to access it in my browser.

  • cloudswithflaire@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    Do not delete the instance, being that it’s the free tier, you could be waiting weeks or months for another one to be made available for you. If you do end up needing to reinstall the OS, do it “in-place” on your current instance.

    There are a handful of ways you could accomplish this, this one being my favorite and the one I always go to.

  • NikStalwart@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    This is not a question for /r/selfhosted. This is a configuration issue — that I am inclined to ascribe to installing too much unnecessary software — and would suggest directing to a more generalist tech support forum.

  • nixx@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 months ago

    I had the same issue, create a swap file and use it

    2G should be enough