Saturday, January 4, 2014

Troubleshooting high server loads on Linux servers

Technical support analysts often receive tickets about high server loads. The cause of high server loads is very rarely attributed to defects in the cPanel software or the applications it installs. High server loads are something that should be initially investigated by the server owner, their system administrator, or server provider. What causes high server loads? Excessive usage of any of the following items can typically cause this issue: CPU memory (including swap) disk I/O How can I check these items? That depends whether you want to review their current resource usage, or historical resource usage. This tutorial will cover both. A brief lesson on "sar" Historical resource usage can be viewed using...

Install mod_security on CentOS6 with DirectAdmin

Packages to be pre installed. yum install gcc make yum install libxml2 libxml2-devel pcre-devel if error lexpat (while make install) : yum install expat expat-devel Install mod_security cd /usr/src wget https://www.modsecurity.org/tarball/2.7.5/modsecurity-apache_2.7.5.tar.gz tar zxvf modsecurity-apache_2.7.5.tar.gz cd modsecurity-apache_2.7.5 ./configure make install cp modsecurity.conf-recommended /etc/httpd/conf.d/modsecurity.conf Downloading OWASP Mod_Security Core Rule Set : cd /etc/httpd/ wget http://pkgs.fedoraproject.org/repo/pkgs/mod_security_crs/modsecurity-crs_2.2.5.tar.gz/aaeaa1124e8efc39eeb064fb47cfc0aa/modsecurity-crs_2.2.5.tar.gz tar zxvf modsecurity-crs_2.2.5.tar.gz mv modsecurity-crs_2.2.5 modsecurity-crs cd...

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews