Better OOM notification messages

This commit is contained in:
Girish Ramakrishnan
2019-03-06 11:54:37 -08:00
parent 916ca87db4
commit b5a4121574
5 changed files with 72 additions and 36 deletions

View File

@@ -2,22 +2,21 @@
Dear <%= cloudronName %> Admin,
<%= program %> exited unexpectedly using too much memory!
<%= program %> has bee restarted now as it ran out of memory.
The app has been restarted now. Should this message appear repeatedly or
undefined behavior is observed, give the app more memory.
This can be done in the advanced settings in the app configuration dialog
in your Cloudron's web interface.
Should this message appear repeatedly or undefined behavior is observed, give the app more memory.
Please see some excerpt of the logs below.
* To increase an app's memory limit - https://cloudron.io/documentation/apps/#increasing-the-memory-limit-of-an-app
* To increase a service's memory limit - https://cloudron.io/documentation/troubleshooting/#services
Out of memory event:
-------------------------------------
<%- context %>
<%- event %>
-------------------------------------
Powered by https://cloudron.io
Sent at: <%= new Date().toUTCString() %>