• qprimed@lemmy.ml
        link
        fedilink
        English
        arrow-up
        24
        ·
        7 months ago

        well, I mean… anything can leak memory. but yeah, enterprise/carrier grade devices are designed to be in continuous use for years and they generally do that pretty well.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          14
          ·
          7 months ago

          Even then, some places will reboot on a schedule when nobody should be using it.

          I have some entry level “enterprise” hardware (Mikrotik router and Ubiquiti access point) and I auto-reboot mine weekly. In addition to maintaining performance and minor security wins, it also helps ensure everything csn survive a reboot (e.g. all configurations have persisted to disk).

          It’s good practice. Some people brag about continuous uptime, I see it as a liability.

          • yeehaw@lemmy.ca
            link
            fedilink
            English
            arrow-up
            6
            ·
            7 months ago

            It’s good practice for patching purposes. You should always be maintaining stable OS versions and a memory leak or the like is fairly uncommon. I think I’ve seen it once in my career on a particular check point OS version.

            • sugar_in_your_tea@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              3
              ·
              7 months ago

              Yeah, I’m more worried about keeping up on patches and ensuring things will start back up properly than memory leaks. But minor security and performance wins are nice too.

          • locuester@lemmy.zip
            link
            fedilink
            English
            arrow-up
            6
            ·
            7 months ago

            Absolutely. Nothing scarier than rebooting the computer or router that’s been running for 10 years.

            I also enjoy exercising software blue/green rotation weekly. Even if no code changes, have it roll to the alternate infra on an automated schedule. Is a great habit to get into and helps any engineer sleep better. It also results in providing very accurate downtime recovery numbers - not estimates.

          • dustyData@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            7 months ago

            That’s why all master systems have a backup At least on datacenters 10 years ago is how we did it. We could run a patch, system update, data backup, system restart or whatever it was required to almost any piece of kit on the racks without losing continuity of service. Just do the backup first, then the same operation on the master, if any of them fails the whole architecture is designed to pick up the tasks and continue as if nothing wrong is going on. It was expensive, but they were mission critical banking infrastructure. The thing only went out for account balancing, but it was at 3am when it was likely that no one would need it, and even then for the user there was no loss of service. Transactions still went through, just with a couple of hours of delay for the whole ordeal to sync up.

      • tal@lemmy.today
        link
        fedilink
        English
        arrow-up
        10
        ·
        7 months ago

        If my router rebooted once a week, it would be in the trash can.

    • zingo@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 months ago

      Restarting anything with a chip in it once and a while is good practice.

    • Tag365@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 months ago

      Feels like I need to reboot my iPhone daily in order to keep applications and tabs from being terminated from out of memory issues as quickly.

      • Rai@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        I have an old-ass iPhone XS and don’t run into this issue. But mine has a LOT of storage so maybe that helps?

      • viking@infosec.pub
        link
        fedilink
        English
        arrow-up
        9
        ·
        7 months ago

        Yes, a reboot is a reboot. As long as the boot sequence cycles through where the code is validated, you’re good.

        • Chozo@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          7 months ago

          a reboot is a reboot

          Not always. Some phones will do a sort of “soft” reboot, which doesn’t actually go through the entire boot process, but is more like logging out of the active OS user and back in, reloading some of the OS but not all.

          Pretty sure a system update would trigger a full reboot, though, but I’ve seen the option for this sort of partial reboot in the power menu on some devices in the past.