is this Little Bobby Tables?

  • jonathan@piefed.social
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 hours ago

    My latest example of this was a memory leak in some old software I wrote. It grew linearly with traffic, so it wasn’t until traffic randomly spiked that I started seeing problems.

    • vrek@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 hours ago

      Dylan bettle talks about this in one of his presentation. He made a website that did actor and actress recommendations, I believe for like extras to be hired. They kept getting alerts around 7-715am and then around 12.30pm to 1245pm.

      Eventually they figured out that casting agents typically woke up, checked email, and submitted the requests on the website. The actors and actresses typically had other jobs and had to wait till lunch to check and apply.

      They had to redesign the system and buy more bandwidth to handle these spikes.

      He’s a great presenter and I highly recommend watching all of them, even if you’re not a programmer. And I probably got most of the details wrong… But it was a talk at one of NDC conventions.

    • Strit@lemmy.linuxuserspace.show
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 hours ago

      I actually have an issue that is similar. My server goes unresponsive/freezes after N hours of uptime. N is a variable, so far meassured between 6 and 72 hours. I tried working around it, by auto-rebooting the server each night. But it still sometimes happen before the 24 hour mark.

      Nothing in logs, so my best option is to auto-reboot at this time. 😆

      • essell@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        5 hours ago

        I just solved this exact issue after living with it for a few months.

        For me it was a bad PSU, voltage drop probably stopping the HDDs and SSDs, which knocked over the Kernel

      • wltr@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 hours ago

        Hey, I have the same thing for my second router that works as an extender, to cover some remote area. I auto-reboot it every 3 hours during the day (I don’t during the night). Sometimes, it stops transmitting data before the 3 hours mark, so I have to go and physically reboot it. It always helps, while there are very rare occasions when this software reboot does not help.

        I have no idea what’s going on. I’ve bought it cheap as a broken one, but re-flashing it to OpenWrt seems like solved all its issues. However, I’m not qualified to say there’s no issues with it. It’s just that from a user perspective, it works exceptionally well. I see no issues. Except this forced auto-reboot thing, but I think it could be me not understanding the networking properly, and doing something wrong / not optimal. It gets the signal wirelessly via 5 GHz band (for speed) and shares it via 2.4 GHz band (for the distance). I fixed some obvious mistakes with the help of a GPT, which seems to work better now. But I’m not really sure. Could be that it’s winter and it was cold in there, I have to see how it’ll behave during the summer.

        Honestly, I even started thinking maybe it has no issues now, and I can remove that cron job. But I think I can live with being offline for a minute or two a few times a day, when I’m in that remote location.

        Yeah, I mean. Tried to compliment your story with mine.