Hello everyone, I have a Raspberry Pi 4B with 2GBs of RAM. I am trying to run all the *arr stack via docker containers(5 or 6 containers) but this causes my Raspberry Pi to lag very much. I could not use any of the stack’s web interface or SSH to the pi during the lag and to fix it I had to reset the pi.

I think it is because I have little RAM but it might also be the power supply because I sometimes get messages for undervoltage.

What do you think is happening and how could I fix it? Do I need to buy a more powerful device?

Thanks in advance.

    • dinckel@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      While not untrue, it’s not entirely accurate. My entire arr stack runs on a 3b+ with just a gig of ram, with some still left over. It all depends on what, and how you run it

    • rambos@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      Agree! I had arr stack + nextcloud on rpi4 4GB and it was using bit less than 3GB after restart, but after some time it would hit 4GB and start using SWAP and I would have issue just like OP. Solved that by moving server to DIY PC with 8 GB, but then I added many more services and had to upgrade to 16 GB. Sitting at 4+GB free RAM all the time while using 40+ services

    • VitabytesDev@feddit.nlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      OK, I am trying to setup a swap partition right now to see if that will improve performance.

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    Do I need to buy a more powerful device?

    Yes? You seem to have answered that yourself.

    Run “free” and see how much memory is being consumed. And “top” as well (hitting ‘m’ will sorry by memory usage).

  • dinckel@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Begin with listing what exactly you’re trying to run. I am running this myself, on hardware that’s worse than yours. You have to make choices more carefully