Backup fails - "task 475 crashed with code null and signal SIGABRT"
-
All my backup tasks crashed overnight
task 475 crashed with code null and signal SIGABRT
I'm using the following settings:
Provider: filesystem Location: /media/CloudronBackup Storage Format: rsync Hardlinks: yes Retention time: 1 week
-
Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Is there error here. I am not sure of a fix, but hope it helps you find one.
-
In
/etc/systemd/system/box.service
I currently have this setting:
MemoryMax=400M
-
Not that I recall - the only thing "out of the ordinary" is the preview generator task by Nextcloud currently (see https://forum.cloudron.io/topic/1716/nextcloud-preview-generator-cron-trouble)
-
Changed the Setting from 150 to 300. Backup still crashes.
-
@necrevistonnezr I pinged you on chat, will ping again tomorrow.
-
@necrevistonnezr Thanks for helping debug this further!
For the rest: The issue is that there are a large number of files (> 400k) getting backed up and the syncer code is running out of memory since it loads all those filenames in memory. I will get this fixed in the next version. For now, disable automatic backups for nextcloud.
-