Install SPRI on CentOS or cPanel server
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 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.
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at firstname.lastname@example.org