SPRI (System Priority) is a utility designed to queue different processes with different priority levels based on 3 class levels of importance (high, med, low). This post will help you to install SPRI on CentOS or cPanel server.

To install SPRI, execute the following commands (as root):

 
wget http://www.rfxn.com/downloads/spri-current.tar.gz
tar xvfz spri-current.tar.gz
cd spri-0.5
./install.sh

To check it, Please run the following command:

 
spri -v

SPRI has very straight forward usage and configuration. First, you should edit the preset of class rules provided with SPRI. The files are located at:

 
/usr/local/spri/high
/usr/local/spri/med
/usr/local/spri/low

The priority associated with each level is defined in the conf.spri file. Once all options are to your satisfaction you should run spri to test it.

The average load level of a server can be substantially decreased by using spri, by as much as 5-20%, of course, results may vary.

Bu cavab sizə kömək etdi? 0 istifadəçi bunu faydalı hesab edir (0 səs)