Want to subscribe to topics you're interested in?
Become a Member

Nginx Setting resource limit per vHost

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by KlueMaster, Jun 20, 2019.

  1. KlueMaster

    KlueMaster Member

    43
    9
    8
    Aug 5, 2017
    Ratings:
    +18
    Local Time:
    5:01 PM
    MariaDB 10
    Hi,

    Just wondering if there is a way to set resource limits on vHost level?

    I am planning to use one large VPS instance to host about 5-6 sites. Most of these are WordPress/WooCommerce with light load. However, at times one may see a sudden traffic driven by some consumer promotion. In such cases, I don't want the load times of other sites to suffer. So, if there is a way to set resource usage limit per vHost, then that will be very helpful.

    Thanks
    Gaurav
     
  2. eva2000

    eva2000 Administrator Staff Member

    43,082
    9,781
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,101
    Local Time:
    9:31 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Not out of the box for Centmin Mod as all vhosts run under same nginx user/group. If the sites are important enough, having separate VPS server for them would be the best approach from traffic management and security point of view.
     
    • Informative Informative x 1