I don‘t know if this is the right place to ask, but is this an OK build for a first start in selfhosting? Is there anything obvious I could improve? I‘d mainly run Nextcloud, Immich, some Docker containers and smaller web applications and cronjobs.

  • calamityjanitor@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    I just ran an import of only a dozen photos and it did go up to 2.3GB usage. I knew containers were more lightweight but I didn’t think a VM could get that bad. Hopefully it’s reporting a sum of virtual or assigned memory space and isn’t actually hogging that much in physical ram.

    • IsoKiero@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Immich itself is running on docker, so it’s the same than every other setup. For me it just makes more sense to run that on a separate VM than keeping all the docker containers in a same operating system due to backups, manageability, access control and so on, even if it costs a bit of memory to run a full operating system. Biggest consumers on the host process list are immich-api, postgres-processes and immich. Actual used memory is around 2,5GB for the whole system with ~5GB on buffers/cache.

      But I often import hundreds of raw photos at a time from DSLR and/or 4K video footage from my drone and processing those takes quite a lot of memory. With less memory and slower drives the whole thing crashed when importing bigger batches to out of memory erros, but I suppose it could run just fine with even less than 4GB of memory, if the usage pattern is just to upload photos from your cellphone in a relatively slow pace.