Backup fails - "task 475 crashed with code null and signal SIGABRT"
-
wrote on Mar 18, 2019, 3:30 PM last edited by
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
-
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.
-
Hi there, can you try following the guide how to increase the memory limit for those processes at https://cloudron.io/documentation/troubleshooting/#backups ?
-
wrote on Mar 18, 2019, 4:44 PM last edited by
In
/etc/systemd/system/box.service
I currently have this setting:
MemoryMax=400M
-
wrote on Mar 18, 2019, 4:51 PM last edited by
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)
-
That
box.service
file also contains a value for--max_old_space_size=
can you set this higher as well and retry? After editing the file, you have to run:systemctl daemon-reload systemctl restart box
-
wrote on Mar 18, 2019, 6:48 PM last edited by
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.
-