Piano.cat
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups
    • Register
    • Login
    1. Principal
    2. Uncategorized
    3. 585GB del disc dur de mastodont.cat ocupats per els arxius multimèdia 😳.
    This topic has been deleted. Only users with topic management privileges can see it.
    • spla@mastodont.catS spla@mastodont.cat

      585GB del disc dur de mastodont.cat ocupats per els arxius multimèdia 😳.

      spla@mastodont.catS spla@mastodont.cat

      585GB del disc dur de mastodont.cat ocupats per els arxius multimèdia 😳. Crec que és el record.
      Em toca esborrar arxius remots (d'altres servidors).

      #manteniment

      Link Preview Image
        0
        Offline spla@mastodont.cat •
        , last edited by
      • trankten@tkz.oneT trankten@tkz.one
        trankten@tkz.oneT trankten@tkz.one

        @spla Hola spla! Potser ja ho tinguis, però a TKZ tenim un script cron mensual per netejar. et podria servir?

          0
          Offline trankten@tkz.one •
          , last edited by
        • spla@mastodont.catS spla@mastodont.cat
          spla@mastodont.catS spla@mastodont.cat

          @trankten hola! ho faig manualment amb tootctl 😅 doncs sí que em podria servir, gràcies!
          (mai m'he posat a fer-ne un jo mateix)

            0
            Offline spla@mastodont.cat •
            , last edited by
          • trankten@tkz.oneT trankten@tkz.one
            trankten@tkz.oneT trankten@tkz.one

            @spla Jo faig servir tootctl també, però ho tinc en un script, això és el que executa en ordre:

            "bin/tootctl media remove --days 7"
            "bin/tootctl media remove --remove-headers --include-follows --days 15"
            "bin/tootctl media remove --prune-profiles --days 15"
            "bin/tootctl preview_cards remove --days 7"
            "bin/tootctl media remove-orphans"
            "bin/tootctl accounts prune"
            "bin/tootctl accounts cull --concurrency 10"
            "bin/tootctl statuses remove --days 15"

            Si utilitzes Docker hauràs d'usar "docker exec":

            docker exec -i sidekiq bin/tootctl media remove --days 7
            ...
            ...

            L'execució de tot és molt lenta i es pot demorar diverses hores. Per a qualsevol cosa de totes maneres estic per XMPP / Telegram

              0
              Offline trankten@tkz.one •
              , last edited by
            • spla@mastodont.catS spla@mastodont.cat
              spla@mastodont.catS spla@mastodont.cat

              @trankten gràcies! 😃

                0
                Offline spla@mastodont.cat •
                , last edited by
              • nandeth@draggar.catN nandeth@draggar.cat
                nandeth@draggar.catN nandeth@draggar.cat

                @spla quin pet de servidor que tinc en comparació 🤣

                Link Preview Image
                  0
                  Offline nandeth@draggar.cat •
                  , last edited by
                • spla@mastodont.catS spla@mastodont.cat
                  spla@mastodont.catS spla@mastodont.cat

                  @nandeth és normal, va en funció del temps en funcionament, dels usuaris actius i dels servidors federats.

                    0
                    Offline spla@mastodont.cat •
                    , last edited by
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  • First post
                    Last post