netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -f1 -d: | sort | uniq -c | sort -rn | head netstat -tn 2>/dev/null | grep :25 | awk '{print $5}' | cut -f1 -d: | sort | uniq -c | sort -rn | head /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings cat /var/log/exim_mainlog | grep cwd=\/home\/ | cut -d' ' -f3 | sort -n| uniq -c cd /var/spool/exim/input/ for i in $(find . | xargs grep -m 1 -s -i "Mailer-Daemon" | sed -e 's/\.\/[A-Z0-9a-z]\/\([A-Z0-9a-z\-]\{16\}\)\-[HDJ].*/\1/'); do exim -Mrm $i;done exiqgrep -z -i | xargs exim -Mrm exim -qff -v http://silenc.net/geek/exim_help.html empty out eximstats: First check the size of your eximstats database: du -s -h /var/lib/mysql/eximstats If you want to clean it then connect to mysql as root: * mysql * should drop you in, if not * mysql -u root -p * you'll be prompted for the pw. If the root doesn't work, check /root/.my.cnf, should have the pw saved in plain text. then, once you're connected, run these: use eximstats; * delete from sends; * delete from smtp; * Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 1 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 200 MaxRequestsPerChild 300 /usr/local/cpanel/bin/apache_conf_distiller --update VPS: vzctl set VEID --slmmode slm --save vzctl set VEID --slmmemorylimit 512M:512M --save vzctl set VEID --slmmemorylimit 1G:1G --save ps aux | grep nobody | awk '{print $2}' | xargs kill -9 myisamchk *.MYI DO NOT RUN WHILE MYSQL IS RUNNING!!!OMTG # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Direct modifications to the Apache configuration file may be lost upon # subsequent regeneration of the # # configuration file. To have modifications retained, all modifications must # be checked into the # # configuration system by running: # # # /usr/local/cpanel/bin/apache_conf_distiller --update # # # To see if your changes will be conserved, regenerate the Apache # configuration file by running: # # /usr/local/cpanel/bin/build_apache_conf # # # and check the configuration file for your alterations. If your changes # have been ignored, then they will # # need to be added directly to their respective template files. # # # # # This configuration file was built from the following templates: # # # /var/cpanel/templates/apache2/main.default # # # /var/cpanel/templates/apache2/main.local # # # /var/cpanel/templates/apache2/vhost.default # # # /var/cpanel/templates/apache2/vhost.local # # # /var/cpanel/templates/apache2/ssl_vhost.default # # # /var/cpanel/templates/apache2/ssl_vhost.local # # # # # Templates with the '.local' extension will be preferred over templates with # the '.default' extension. # # The only template updated by the apache_conf_distiller is main.default. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # look at /opt/suphp/etc/suphp.conf