I just need to gush for a minute. I am about to shutdown my server in order to move it to the basement. This off the shelf $300 desktop running Pop!_OS is my self-hosting server that has dutifully done it’s job without a single complaint. It has been rebooted maybe three times since 2020 and it currently has an uptime of 840 days. That’s 840 days of not ever thinking about this thing. It self updates via Cron jobs and just…works.

I am afraid to open the box up though. Those dust bunnies must be huge.

  • nous@programming.dev
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    3 months ago

    uptime of 840 days

    This always makes me wince. I don’t think high uptimes should be celebrated. Has your kernel ever been patched or the services running restarted? Just installing the updates is not enough to secure your system you need to be running that new code as well.

    Also, I get very nervous about touching those systems. You have no clue what state it is in. I have seen far too many large uptime server have their power go some day and are never able to boot again or don’t boot all the services back up as someone forgot to enable the service.

    Nop, rather see them rebooted regularly at a non critical time so we know they will come back up. Or even better have a HA setup.

    • Jo Miran@lemmy.mlOP
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      3 months ago

      You can’t allow to lose sight of context. In general I agree with you, but this is not a production server or even a system exposed to the Internet. This is an internal server hosting my stuff to me and only accessible via a VPN server that is on a different machine that is updated regularly who in turn is behind secure physical network devices with their own rules. This machine only job was to be available when called upon and it always has been. It does not need a kernel update although it could use one. All software on it is up to date and all security patches are updated regularly. If by any chance the system was fully compromised, all the culprit would get are tertiary copies of my movies and music collections, which they can enjoy, and a bunch of tertiary copies of my VeraCrypt virtual drives in which I replicate my backups. Again, context.

    • dustyData@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 months ago

      Lesson time. In security strategy we have the risk equation. The calculated risk of something is the magnitude of the harm it could potentially do, times the probability of it actually happening, all divided by any prevention measures you have or can take. Nothing is perfectly or inherently safe or unsafe, you always have to calculate the risks taking into account all the factors, and balance risk against operative costs. There’s a lot of economic value in a low risk system that doesn’t require much intervention or maintenance.

    • hperrin@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      How vulnerable your system is with an old kernel/old code depends on what you’re running. If you’re running a bunch of sophisticated services that allow access on the open internet, you may have more vulnerabilities than if you’re just running a file share. The kernel doesn’t really matter at all unless either you allow other people to run commands or someone is able to exploit a RCE exploit.

  • NABDad@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    When people ask me why I like Linux, my go-to reason is my main personal machine. I use it for everything I do outside of work, including running my Emby server.

    I built it from $500 worth of parts 13 years ago. I’ve kept updating the os and applications. It’s starting to slow down a bit after the last os upgrade, but it’s still plenty usable.

    I am getting concerned about the spinning platters. As far as I am aware, Linux won’t prevent an ancient hard disk drive from reaching the natural end of is life.

    It’s probably time to move on to a new machine. Well, new motherboard, CPU, RAM, and disks at least.

    • Jo Miran@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      I spun down my 486 DX 33 home linux server in 2006 simply because by then it was ridiculous to spend the electricity on something less powerful than a five year old entry level laptop. It never failed. I bet that if I powered it up today, it would still work as a power loud and power hungry PiHole server.

    • marcie (she/her)@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 months ago

      i have a ibm laptop with a really old ssd running and the health of everything looks very good. i never wrote a whole lot to the ssd, i feel like this computer could last 30 years or more without going fully obsolete. its just a basic laptop with not very good hardware that i use for looking up information during a tabletop game, read a pdf, or to browse the internet. sometimes i message people on it. perfect for my use case, and probably will never need anything more than this. it always has to be plugged in because the battery sucks now, but its lightweight and portable so its not a big deal.