Read the statement by Michael Teeuw here.
Electron quit periodically
-
my MM quits and restarts periodically. When I looked at the logs from pm2 and here is what I get. I wonder if anyone is experiencing the same thing and any solutions?
0|mm | MEMORY-ERROR: electron[20099]: GSlice: assertion failed: sinfo->n_allocated > 0
0|mm | /home/jeff/MagicMirror/node_modules/electron/dist/electron exited with signal SIGABRT -
@jefftse i haven’t seen that reported before
can you show the startup info from the logs?
and also output of
free -m -
total used free shared buff/cache available Mem: 3791 1127 1276 210 1674 2664 Swap: 511 0 511
how do i get you the startup info from the logs? pm2 log? or npm log?
-
@jefftse pm2 logs --lines=xxx
where xxx is the number of most recent lines to show
-
@sdetweil I’m sorry but i’m not following…
-
pm2 logs --lines=15
will show the last 15 lines of the captured output
if your instance has been running for a day
the LAST 15 lines are not useful, as the info is near the top (AND the log accumulates runs)you can also look at the file holding the output
it is in the
~/.pm2/logs foldernotice the dot in front of pm2
-
@sdetweil gotcha. yea. i tried to upload the whole error log but i realized there is no way to do it here.
-
@jefftse just need the 4 lines
-
@sdetweil waiting for the next crash
-
@jefftse but the info is there now