[Backup] Critical ram/swap usage during backup

Hello

Today my cron job doing the backup failed with a python error:

OSError: [Errno 12] Cannot allocate memory

I obtained the same error doing it manually. I haven’t look more into it at the moment. Does someone has an idea from what it could come from ?

There is Nextcloud/TTRss/Roundcube/Gogs and Transmission running on it but with not much activity.

The server has 2g of ram available and 500mb of swap.

Python Traceback


Bonjour

Aujourd’hui mon cron job a raté a cause de:

OSError: [Errno 12] Cannot allocate memory

et j’ai la meme erreur en lancant manuellement. Le serveur a 2g de ram et 500mb de swap avec Nextcloud/TTRss/Roundcube/Gogs et Transmission dessus mais pas beaucoup utilise.

J’ai pas encore beaucoup cherche de ou ca vient mais si quelqu’un a une idee pour m’orienter je veux bien

J’ai quasiment le même problème, avec la swappiness à 60, même quantité de ram et de swap.

Dans mon cas, la sauvegarde semble avoir été complète mais ce matin, plus moyen d’utiliser l’interface admin :

OSError: [Errno 12] Cannot allocate memory

Je suppose que la sauvegarde a saturé la swap (elle était presque à fond quand je me suis connecté en SSH) mais même dans cet état, je n’aurais pas cru que ça bloquerait l’interface d’admin.