• @[email protected]
    link
    fedilink
    English
    87 days ago

    Swap is super helpful if you’re running a web server on a 1GB RAM 2 CPU Linode instance!!

    • Possibly linux
      link
      fedilink
      English
      36 days ago

      Be careful with that

      I think some providers prevent full usage of a VPS in the ToS

      • @[email protected]
        link
        fedilink
        English
        26 days ago

        In this case the web server will temporarily exceed 1GB RAM and crash. It’s usually hovering around 700MB. I configured 4GB swap but I haven’t seen it use more than 1.5GB. I honestly doubt they would even have a way to know, but thanks for the warning.

        • Possibly linux
          link
          fedilink
          English
          16 days ago

          I guess you will find out

          Its probably fine. Just make sure you have a backup outside of the cloud provider.

      • @[email protected]
        link
        fedilink
        26 days ago

        Are you sure? Because that’s fucking dumb. If it was alà ISP, then it is understandable. Most ISP CANNOT GUARANTEE the maximum advertised speed, not outright violating ToS when you are able to use those full speed. Big difference there.

        • Possibly linux
          link
          fedilink
          English
          16 days ago

          It depends on weither you are on the shared CPU plan. I’m quite sure but I think they may have ram limits along with CPU limits.

          • @[email protected]
            link
            fedilink
            25 days ago

            Maybe it is a violation when you are doing it all the time? Like, 24/7 you are using the whole resources available. Then yeah, I could see it.