Read the statement by Michael Teeuw here.
Mirror crashes daily and pm2 doesn't get it up again
-
Hi!
My mirror crashes every day. It just goes black and works again if I manually quit it (pm2 will then restart it).
I checked the logs by doing
pm2 logs mmWhich gives me:
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option) /home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | rning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) 0|mm | [16.06.2021 10:58.04.258] [ERROR] (node:939) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 0|mm | [16.06.2021 19:30.11.075] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 0|mm | [17.06.2021 05:30.22.142] [ERROR] (node:8664) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 NOTIFY listeners added to [EventSource]. Use emitter.setMaxListeners() to increase limit 0|mm | [17.06.2021 05:30.22.155] [ERROR] (node:8664) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 STATUS listeners added to [EventSource]. Use emitter.setMaxListeners() to increase limit 0|mm | [17.06.2021 05:30.22.159] [ERROR] (node:8664) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 EVENT listeners added to [EventSource]. Use emitter.setMaxListeners() to increase limit 0|mm | [8713:0617/083204.668041:FATAL:memory.cc(22)] Out of memory. size=88473600 0|mm | [17.06.2021 12:59.20.996] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 0|mm | [13452:0617/205251.489565:FATAL:memory.cc(22)] Out of memory. size=88473600 0|mm | [18.06.2021 14:24.55.633] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 0|mm | [18.06.2021 14:33.07.564] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 0|mm | [19.06.2021 00:33.15.146] [ERROR] (node:19706) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 NOTIFY listeners added to [EventSource]. Use emitter.setMaxListeners() to increase limit 0|mm | [19.06.2021 00:33.15.156] [ERROR] (node:19706) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 STATUS listeners added to [EventSource]. Use emitter.setMaxListeners() to increase limit 0|mm | [19.06.2021 00:33.15.159] [ERROR] (node:19706) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 EVENT listeners added to [EventSource]. Use emitter.setMaxListeners() to increase limit 0|mm | [19755:0619/134817.487939:FATAL:memory.cc(22)] Out of memory. size=88473600 /home/pi/.pm2/logs/mm-out.log last 15 lines: 0|mm | [19.06.2021 20:07.22.143] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:12.32.306] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:17.42.082] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:22.51.820] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:28.01.490] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:33.11.508] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:38.21.877] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:43.32.020] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:48.41.909] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:53.52.000] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 20:59.02.028] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 21:04.12.077] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 21:09.22.303] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 21:14.32.500] [INFO] Calendar-Fetcher: Broadcasting 12 events. 0|mm | [19.06.2021 21:19.42.322] [INFO] Calendar-Fetcher: Broadcasting 12 events.Any ideas on how I could fix this?
-
I just did a
git pull && npm installTo see if it makes a difference.
-
:astonished_face: @looolz
log says:
17.06.2021 05:30.22.159] [ERROR] (node:8664) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 EVENT listeners added to [EventSource]. Use emitter.setMaxListeners() to increase limit 0|mm | [8713:0617/083204.668041:FATAL:memory.cc(22)] Out of memory. size=88473600So first thing to verify: what is the module who do this
so isolate (disable module one by one for verify)when you found the module trouble:
try a git pull on it
If not works gain … report issue to developer -
@bugsounet Thank you! If it crashes again, I’ll start by disabling 1/2 of the modules until I find the problem. This could take days, hope I don’t have to 😐
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login