Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
spla
@spla@mastodont.cat  ·  activity timestamp 3 months ago

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

SPACE USAGE

PostgreSQL
126 GB
Redis
310 MB
• Media storage
585GB
Elasticsearch
9.83
SPACE USAGE PostgreSQL 126 GB Redis 310 MB • Media storage 585GB Elasticsearch 9.83
SPACE USAGE PostgreSQL 126 GB Redis 310 MB • Media storage 585GB Elasticsearch 9.83
  • Copy link
  • Flag this post
  • Block
Nandeth Draggar
@nandeth@draggar.cat replied  ·  activity timestamp 3 months ago
@spla quin pet de servidor que tinc en comparació 🤣
Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author
  • Copy link
  • Flag this comment
  • Block
spla
@spla@mastodont.cat replied  ·  activity timestamp 3 months ago
@nandeth és normal, va en funció del temps en funcionament, dels usuaris actius i dels servidors federats.
  • Copy link
  • Flag this comment
  • Block
Trankten :vf: :tkz:
@trankten@tkz.one replied  ·  activity timestamp 3 months ago
@spla Hola spla! Potser ja ho tinguis, però a TKZ tenim un script cron mensual per netejar. et podria servir?
  • Copy link
  • Flag this comment
  • Block
spla
@spla@mastodont.cat replied  ·  activity timestamp 3 months ago
@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)
  • Copy link
  • Flag this comment
  • Block
Trankten :vf: :tkz:
@trankten@tkz.one replied  ·  activity timestamp 3 months ago
@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

  • Copy link
  • Flag this comment
  • Block
spla
@spla@mastodont.cat replied  ·  activity timestamp 3 months ago
@trankten gràcies! 😃
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.13 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login