Monitoring alert -- Resource limit succeeded

  • This means that the copy operation causes a quite high load on the system


    with this, you can check which load warning values are set currently (as a multiplicator for each CPU core)


    grep -r 'default:OMV_MONI' /srv/salt/omv/* | cut -d ":" -f3 | cut -d')' -f1 | sort | uniq


    I've modified these values with the following steps:

    sudo nano /etc/default/openmediavault


    add these two variables which corresponds to the double of the former value:

    OMV_MONIT_SERVICE_SYSTEM_LOADAVG_1MIN_MULT=4

    OMV_MONIT_SERVICE_SYSTEM_LOADAVG_5MIN_MULT=2

    then you need these two commands to activate them

    sudo omv-salt stage run prepare

    sudo omv-salt deploy run monit


    this modification does not eliminate the warnings but set the threshold for short-time boundary exceed to the double of the former value. So according to the length of the high-load phase (i did not modify the 15min load-average) and the absolute load (i only raised the limit) you will at least get less mails or even no mails.


    Questions to the experts: is is also possible to enter a value like 1.5? Or are only integer vaules allowed?

  • Thank you so much for your reply, unfortunatly a recent power outage shot my back up drive but i have done what you said about so when i get a new back up drive i can test this.


    :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!