• TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    19 days ago

    Huh. Only 11 days on the Raspberry Pi I’m using as a “desktop system” right now. (Arch Linux Arm, btw… though Arch Linux Arm sucks now-a-days.)

    Let’s check my RPi-based NAS:

    [tootsweet@mynasserver ~]$ uptime
     19:56:07 up 212 days, 18:43,  4 users,  load average: 0.16, 0.04, 0.01
    

    Also not as long as I’d have guessed.

    • partial_accumen@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      19 days ago

      My RPi uptime on one project will never exceed 4 hours.

      I’ve got a cron job set to reboot my Raspberry Pi every 4 hours because I wrote a crappy Python app that continuously creates objects during operation that I would have to recreate, but I can’t delete the originals, or rather, I can delete the original parent but the child survives and keeps its memory allocation. So a full reboot with autolaunch of the application on boot is my ugly janky workaround. Its a cosmetic application, nothing critical. Its just a colorful display of data metrics.

      I can hear the horror and gnashing of teeth of real developers as they read this.

      • fayoh@sopuli.xyz
        link
        fedilink
        arrow-up
        7
        ·
        19 days ago

        You just lack imagination. Some hikvision security cameras (the large, very expensive enterprisey ones) restart every couple of days due to “buildup of cosmic radiation”.

        No matter how competent you are as a developer, there is no escaping cosmic radiation! 😉

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        19 days ago

        As a real developer…

        I just remember that airplanes have “reboot the plane every 51 days” to prevent an overflow from crashing the plane in their maintenance manuals

        So, like, yours can be improved, but it’s not safety critical like other reboot requirements…