Add a 1G swapfile to delta to help prevent "out of memory" errors, pending the completion of T321765: Crear juno y desmontar delta en wikisp-do
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Galahad | T321764 [Seguimiento] Mantenimiento general de servidores 2023 | |||
Resolved | TheresNoTime | T321812 Add swapfile to delta |
Event Timeline
Comment Actions
theresnotime@delta:~$ sudo fallocate -l 1G /swapfile theresnotime@delta:~$ sudo chmod 600 /swapfile theresnotime@delta:~$ sudo mkswap /swapfile theresnotime@delta:~$ sudo swapon /swapfile theresnotime@delta:~$ sudo swapon --show NAME TYPE SIZE USED PRIO /swapfile file 1024M 1.8M -2
Comment Actions
Debido al último reinicio se tuvo que colocar nuevamente el swapfile.
Ahora está permanente (hasta que se haga la migración):
galahad@delta:~$ sudo cp /etc/fstab /etc/fstab.bak galahad@delta:~$ echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab