Email Resource limit succeeded, loadavg (5min) check succeeded

  • Hi all,


    I'm very often getting the following email:



    This is because I'm running Nextcloud on a Raspberry Pi 4 and preview generation of images creates a massive workload.


    Is it possible to change the allowed duration the system is under fire? 1 minute and 5 minutes are to short because preview generation could take up to 20 minutes for new folders.


    I've already seen there are parameters to change the threshold but that's not I'm looking for cause I want to change the "allowed time".


    Code
    OMV_MONIT_SERVICE_SYSTEM_LOADAVG_1MIN_MULT
    OMV_MONIT_SERVICE_SYSTEM_LOADAVG_5MIN_MULT



    Best regards


    Torsten

  • I added two entries into file /etc/default/openmediavault


    Code
    OMV_MONIT_SERVICE_SYSTEM_LOADAVG_1MIN_CYCLES = 40
    OMV_MONIT_SERVICE_SYSTEM_LOADAVG_5MIN_CYCLES = 40


    The default check interval should be 30 seconds and after 40 cycles the mail should be sent.


    After editing the config file I executed these commands in /usr/bin:

    Code
    omv-salt stage run prepare
    omv-salt deploy run monit


    We'll see if it helps...

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!