OMV Parameter Tweakings for SBC

  • I just dug up from my personal notes a couple of parameter tweaks for my SBC OMV to make 500/504 error messages go away on the webif. votdev Could you please review and incorporate these tweaks to make SBC users' life easier?

    Code
    sudo omv-env set -- OMV_ENGINED_SO_SNDTIMEO 60
    sudo omv-env set -- OMV_ENGINED_SO_RCVTIMEO 1200
    sudo monit restart omv-engined
    sudo omv-env set -- OMV_NGINX_SITE_WEBGUI_FASTCGI_READ_TIMEOUT 1200
    sudo sed -i.orig '/default_socket_timeout/ s/=.*/= 1200/; /max_execution_time/ s/=.*/= 1200/' /srv/salt/omv/deploy/phpfpm/10webgui.sls
    sudo omv-env set -- OMV_MONIT_SERVICE_SYSTEM_LOADAVG_1MIN_MULT 2.5
    sudo omv-env set -- OMV_MONIT_SERVICE_SYSTEM_LOADAVG_5MIN_MULT 1.2
    sudo omv-salt deploy run phpfpm nginx monit
    • Official Post

    Thanks for the suggestion and that you improved your system, but IMO these values are suitable for your system and usecase but this does not mean that the fit on other systems as well.


    I also do not understand the extremely high RCV timeout of 1200 seconds.

  • When applying configuration changes on an SBC, sometimes it could take up to several minutes for omv-engined to finish its work. I was just a little bit generous when changing the timeouts to prevent nginx, php-fpm and omv-engined itself to give up before the configuration change is done.

Participate now!

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