<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mirror crashes daily and pm2 doesn&#x27;t get it up again]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">My mirror crashes every day. It just goes black and works again if I manually quit it (pm2 will then restart it).</p>
<p dir="auto">I checked the logs by doing</p>
<pre><code>pm2 logs mm
</code></pre>
<p dir="auto">Which gives me:</p>
<pre><code>[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.
</code></pre>
<p dir="auto">Any ideas on how I could fix this?</p>
]]></description><link>https://forum.magicmirror.builders/topic/15154/mirror-crashes-daily-and-pm2-doesn-t-get-it-up-again</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 23:11:03 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/15154.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 19 Jun 2021 19:32:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mirror crashes daily and pm2 doesn&#x27;t get it up again on Sat, 19 Jun 2021 19:54:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: bugsounet">@<bdi>bugsounet</bdi></a> 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  😐</p>
]]></description><link>https://forum.magicmirror.builders/post/92238</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92238</guid><dc:creator><![CDATA[looolz]]></dc:creator><pubDate>Sat, 19 Jun 2021 19:54:43 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror crashes daily and pm2 doesn&#x27;t get it up again on Sat, 19 Jun 2021 19:49:00 GMT]]></title><description><![CDATA[<p dir="auto">:astonished_face: <a class="plugin-mentions-user plugin-mentions-a" href="/user/looolz" aria-label="Profile: looolz">@<bdi>looolz</bdi></a></p>
<p dir="auto">log says:</p>
<pre><code>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
</code></pre>
<p dir="auto">So first thing to verify: what is the module who do this<br />
so isolate (disable module one by one for verify)</p>
<p dir="auto">when you found the module trouble:<br />
try a git pull on it<br />
If not works gain … report issue to developer</p>
]]></description><link>https://forum.magicmirror.builders/post/92237</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92237</guid><dc:creator><![CDATA[bugsounet]]></dc:creator><pubDate>Sat, 19 Jun 2021 19:49:00 GMT</pubDate></item><item><title><![CDATA[Reply to Mirror crashes daily and pm2 doesn&#x27;t get it up again on Sat, 19 Jun 2021 19:45:20 GMT]]></title><description><![CDATA[<p dir="auto">I just did a</p>
<pre><code>git pull &amp;&amp; npm install
</code></pre>
<p dir="auto">To see if it makes a difference.</p>
]]></description><link>https://forum.magicmirror.builders/post/92236</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/92236</guid><dc:creator><![CDATA[looolz]]></dc:creator><pubDate>Sat, 19 Jun 2021 19:45:20 GMT</pubDate></item></channel></rss>