Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 30 routine #221

Closed
18 tasks done
kiwixbot opened this issue Jul 22, 2024 · 2 comments
Closed
18 tasks done

Week 30 routine #221

kiwixbot opened this issue Jul 22, 2024 · 2 comments
Assignees
Labels
maint Maintenance tasks

Comments

@kiwixbot
Copy link

kiwixbot commented Jul 22, 2024

Infra

  • Check nodes free space
df -h / && df -h /data
  • Nodes and worker system upgrades
apt update && apt upgrade
k get pods -A -o wide|grep Error
  • Check Pod restarts
k get pods -A -o wide | pyp -i 'print("\n".join([line for line in l if re.split(r"\s+", line)[4] != "0"]))'
  • Check if k8s should/could be upgraded
curl -s -H "X-Auth-Token: $SCW_SECRET_KEY" https://api.scaleway.com/k8s/v1/regions/fr-par/clusters/$KIWIX_PROD_CLUSTER | jq ".version,.upgrade_available"
curl -s -H "X-Auth-Token: $SCW_SECRET_KEY" https://api.scaleway.com/k8s/v1/regions/fr-par/versions | jq ".versions[].name"

Stats

  • Ensure download.kiwix.org stats are being recorded
  • Check whether matomo should be upgraded

Grafana

Projects

Security

Note: this is an automatic reminder intended for the assignee(s).

@kiwixbot kiwixbot added the maint Maintenance tasks label Jul 22, 2024
@benoit74
Copy link
Collaborator

Storage

Machine Filesystem Size Used Avail Use% Use change
bastion / 37G 12G 24G 33% -
stats / 233G 108G 113G 49% +2G
services / 456G 286G 147G 67% +1G
storage / 33T 22T 9.4T 70% +0.1T
demo / 916G 205G 665G 24% don't care
imager-worker / 1.9T 831G 958G 47% don't care
sisyphus / 233G 24G 198G 11% don't care
ondemand / 25G 11G 14G 43% don't care
ondemand /data 216G 6G 199G 3% don't care

@benoit74
Copy link
Collaborator

Misc

  • k8s still needs to be upgrade
  • setup of "ZIM_DIRENTLOOKUPCACHE" on library generation jobs seems to allow avoiding extreme durations of the job (multiple hours), but variability and duration are still too high (up to 45 minutes for prod library) ; clearly these jobs do not seem to be the issue but suffer from another issue

Zimit

NEW: openzim/warc2zim#356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maint Maintenance tasks
Projects
None yet
Development

No branches or pull requests

3 participants