Page MenuHomePhabricator

Increase disk quota for math
Closed, ResolvedPublic

Description

Project Name: math
Type of quota increase requested: disk
Amount to increase: 50 GB
Reason: Test math rendering on current Wikimedia project dumps

Event Timeline

While the overall compressed size of all WMF-hosted projects is only 1.5GB decompression and rendering needs additional space. 50GB is quite an realistic estimate I think.

In theory, one could take the space from math-docker-2

physikerwelt@math-docker-2:/srv/srv-mdock$ df -h
Filesystem                                                      Size  Used Avail Use% Mounted on
udev                                                            7.9G     0  7.9G   0% /dev
tmpfs                                                           1.6G  2.0M  1.6G   1% /run
/dev/sda1                                                        20G  7.6G   12G  41% /
tmpfs                                                           7.9G     0  7.9G   0% /dev/shm
tmpfs                                                           5.0M     0  5.0M   0% /run/lock
/dev/sda15                                                      124M   12M  113M  10% /boot/efi
/dev/sdb                                                         79G   26G   49G  35% /srv

But I don't know how to shrink that volume. And somehow the quota is exceeded even though the volume manager shows that 220 of 260GB are used.

On the target machine the space is almost full after importing dewiki

physikerwelt@math24:~$ df -h
Filesystem                                                      Size  Used Avail Use% Mounted on
udev                                                            7.9G     0  7.9G   0% /dev
tmpfs                                                           1.6G  1.1M  1.6G   1% /run
/dev/sda1                                                        20G  9.9G  8.8G  53% /
tmpfs                                                           7.9G     0  7.9G   0% /dev/shm
tmpfs                                                           5.0M     0  5.0M   0% /run/lock
/dev/sdb                                                         40G   36G  2.0G  95% /srv

Most space seems to be used for mysql-data, which is to be expected.

docker system df -v
Images space usage:

REPOSITORY                                                       TAG       IMAGE ID       CREATED         SIZE      SHARED SIZE   UNIQUE SIZE   CONTAINERS
ghcr.io/mardi4nfdi/docker-wikibase                               dev       ff93e55712e1   11 months ago   2.21GB    2.181GB       29.42MB       1
ghcr.io/mardi4nfdi/docker-wikibase                               main      0ef9002dfc77   11 months ago   2.181GB   2.181GB       0B            1
traefik                                                          latest    c1ef9171e9d1   12 months ago   159.3MB   0B            159.3MB       1
docker-registry.wikimedia.org/repos/mediawiki/services/mathoid   latest    7b93f3e1d1d7   17 months ago   421MB     0B            421MB         1
mariadb                                                          10.8.2    51adad759c74   3 years ago     414.2MB   0B            414.2MB       1
containous/whoami                                                latest    0f6fbbedd377   5 years ago     7.373MB   0B            7.373MB       1

Containers space usage:

CONTAINER ID   IMAGE                                                                   COMMAND                  LOCAL VOLUMES   SIZE      CREATED         STATUS                 NAMES
7f4701e4a56c   ghcr.io/mardi4nfdi/docker-wikibase:main                                 "/bin/bash /entrypoi…"   0               227MB     9 months ago    Up 7 weeks (healthy)   mw
6be81459ae44   ghcr.io/mardi4nfdi/docker-wikibase:dev                                  "/bin/bash /entrypoi…"   0               699kB     9 months ago    Up 7 weeks (healthy)   dev
7acf3aef827c   docker-registry.wikimedia.org/repos/mediawiki/services/mathoid:latest   "node server.js"         0               0B        9 months ago    Up 7 weeks             mathoid
93bb9a3989fe   mariadb:10.8.2                                                          "docker-entrypoint.s…"   1               2B        9 months ago    Up 13 days             db
c7579e675462   containous/whoami                                                       "/whoami"                0               0B        9 months ago    Up 13 days             beta_whoami_1
8adbb526a070   traefik                                                                 "/entrypoint.sh trae…"   0               0B        11 months ago   Up 13 days             beta_reverse-proxy_1

Local Volumes space usage:

VOLUME NAME        LINKS     SIZE
beta_mw-database   1         15.86GB
beta_mw-images     0         0B

Build cache usage: 0B

Mentioned in SAL (#wikimedia-cloud-feed) [2025-04-10T05:06:35Z] <andrew@cloudcumin1001> START - Cookbook wmcs.openstack.quota_increase (T390656)

Mentioned in SAL (#wikimedia-cloud-feed) [2025-04-10T05:06:49Z] <andrew@cloudcumin1001> END (PASS) - Cookbook wmcs.openstack.quota_increase (exit_code=0) (T390656)

Andrew claimed this task.
Andrew subscribed.

I'm sorry it took so long to fill this completely reasonable request! I've increased your quota to 310GB total.