Skip to content

Commit

Permalink
Ram limit and diskusage limit raised (#250)
Browse files Browse the repository at this point in the history
RAM limit set to 280, diskusage limit set to 710
  • Loading branch information
Hypnos3 authored and hobbyquaker committed Sep 20, 2019
1 parent 6bffbb6 commit fb7836c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon_files/redmatic/etc/monit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CHECK PROCESS redmatic-nodered MATCHING '^node-red\s*$|red\.js'
restart = "/etc/config/rc.d/redmatic restart"
stop = "/etc/config/rc.d/redmatic stop"

if memory usage > 224 MB then alert
if memory usage > 280 MB then alert
if cpu > 90% for 2 cycles then alert
if disk write rate > 1 MB/s for 2 cycles then alert
if failed
Expand All @@ -17,7 +17,7 @@ CHECK PROCESS redmatic-nodered MATCHING '^node-red\s*$|red\.js'
request "/addons/red/"
then alert

CHECK PROGRAM redmatic-diskusage with path "/usr/local/addons/redmatic/bin/monit-du.sh 512"
CHECK PROGRAM redmatic-diskusage with path "/usr/local/addons/redmatic/bin/monit-du.sh 710"
GROUP redmatic
MODE PASSIVE
ONREBOOT NOSTART
Expand Down

0 comments on commit fb7836c

Please sign in to comment.