• towerful@programming.dev
    link
    fedilink
    Français
    arrow-up
    0
    ·
    8 months ago

    Someone who just wants to host a lemmy server would give up way earlier than this.

    I think anyone just wanting to host a lemmy server would do a single compose stack on a single server.
    In a different project, im currently fighting tcp sockets disconnecting between a 3rd party containet and a postgres container. I know its tcp_keepalive settings somewhere, and obviously isnt an issue when everything is being used, but having a database connection get dropped overnight and not gracefully restarted on first use the next day is a massive PITA!
    So, Im just shotgunning TCP Keepalive settings on hosts, docker sysctls, wherever i can find any appropriate setting, until the problem goes away (then i might remove some until it reappears)

    • Syl@jlai.lu
      link
      fedilink
      Français
      arrow-up
      0
      ·
      edit-2
      8 months ago

      Your consumer (app) also has to manage this situation, with retries, just in case the start up rakes some times…