NEWS
Fehlermeldung bei backitup restore
-
ich versuche gerade ein Testsystem auf einem Raspberry 3 zu erzeugen und dazu ein iobroker Backup aus einem Produktivsystem (NUC Proxmox LXC-Container) über ein iobroker-pi image auf den Raspi zu schieben, was leider nicht zum Erfolg geführt hat. Das Restore wird mit folgender Fehlermeldung im Log abgebrochen:
2022-07-23 21:31:55.433 - error: backitup.0 (685) [ERROR] [iobroker] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Die Meldungen während des Restore sind folgende:
[DEBUG] [iobroker] Start ioBroker Restore ... [DEBUG] [iobroker] iobroker controller daemon is not running [DEBUG] [iobroker] host.iobroker-pi OK. [DEBUG] [iobroker] <--- Last few GCs ---> [DEBUG] [iobroker] [1596:0x383f588] 20572 ms: Mark-sweep 243.9 (244.9) -> 243.9 (245.4) MB, 126.0 / 0.1 ms (average mu = 0.161, current mu = 0.075) allocation failure scavenge might not succeed [DEBUG] [iobroker] [1596:0x383f588] 20708 ms: Mark-sweep 244.3 (245.4) -> 244.3 (245.7) MB, 126.9 / 0.1 ms (average mu = 0.117, current mu = 0.070) allocation failure scavenge might not succeed [DEBUG] [iobroker] <--- JS stacktrace ---> [DEBUG] [iobroker] ==== JS stack trace ========================================= [DEBUG] [iobroker] Security context: 0x298c19ed <JSObject> [DEBUG] [iobroker] 0: builtin exit frame: parse(this=0x23e9e331 <Object map = 0x21ec0a15>,0x3b905a29 <Very long string[51499246]>,0x23e9e331 <Object map = 0x21ec0a15>) [DEBUG] [iobroker] 1: _restoreAfterStop [0x431fe845] [/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:685] [bytecode=0x4913a565 offset=145](this=0x741465c9 <BackupRestore map = 0x74196635>,0x4fe803c1 <false>,0x4fe80359 <true>,0x4fe803c1... [ERROR] [iobroker] FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory [DEBUG] [iobroker] ioBroker Restore completed successfully [EXIT] null **** Restore was canceled!! ****
Es hört sich nach einem Speicher Allocation Konflikt an. Leider habe ich keine Idee welche Bedeutung und Auswirkung er an dieser Stelle hat und vor allem, ob man irgend etwas tuen kann um das Problem zu lösen oder zu umgehen. Ich bin von daher für jede Hilfe dankbar. Der komplette Log ist im Anhang falls er benötigt wird.
iobroker.2022-07-23.log
Mit besten Grüßen, Werner -
Wie groß ist das Backupfile?
-
Das Backup-File ist etwa 9 MB groß.
-
Das ist übersichtlich.
-
Hier ist noch die Consolmeldungen bei meinem Backup-Restoreversuch. Es wäre super, wenn jemand eine Idee hat, wo das Problem liegen könnte und was meinerseits nötig ist, es zu beheben. Ich bin für für jeden Rat / Hinweis dankbar.
Gruß, Wernerpi@iobroker-pi:~ $ iob validate /opt/iobroker/backups/iobroker_2022_07_23-18_35_33_backupiobroker.tar.gz host.iobroker-pi Starting validation ... host.iobroker-pi backup.json OK host.iobroker-pi vis-views.json OK host.iobroker-pi vis-views.json OK host.iobroker-pi vis-views.json OK Backup OK pi@iobroker-pi:~ $ iobroker-pi:~ $ iob restore /opt/iobroker/backups/iobroker_2022_07_23-18_35_33_backupiobroker.tar.gz iobroker controller daemon is not running host.iobroker-pi OK. <--- Last few GCs ---> [4763:0x23eb4c0] 20733 ms: Mark-sweep 245.0 (246.6) -> 245.0 (246.6) MB, 137.5 / 0.1 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 138 ms) (average mu = 0.153, current mu = 0.057) allocation failu[4763:0x23eb4c0] 20870 ms: Mark-sweep 245.0 (246.6) -> 245.0 (246.6) MB, 135.5 / 0.1 ms (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 136 ms) (average mu = 0.086, current mu = 0.007) allocation failu <--- JS stacktrace ---> ==== JS stack trace ========================================= Security context: 0x3140379d <JSObject> 0: builtin exit frame: parse(this=0x31433259 <Object map = 0x58500a15>,0x23e01709 <Very long string[51499246]>,0x31433259 <Object map = 0x58500a15>) 1: _restoreAfterStop [0x23a1e841] [/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:685] [bytecode=0x5a3fa5bd offset=145](this=0x4f183ac9 <BackupRestore map = 0x3ec96d3d>,0x597c03c1 <false>,0x597c03c1 <false>,0x597c03c... FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory /usr/bin/iob: Zeile 8: 4762 Abgebrochen sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@" pi@iobroker-pi:~ $