Skip to main content

server load very high suddenly

Comments

2 comments

  • Marius
    Access your server as root 1. Use command:
    top
    then press (Shift+P) to sort processes as per CPU utilization and find top consumers. *press q to exit top. other useful commands of top(sort by memory, etc): See Linux TOP commands 2. Use tail command to see latest errors in apache, cpanel, mod security, php-fpm, exim, or any package you have installed. Log investigation of few of them:
    tail -f /usr/local/apache/logs/access_log tail -f /usr/local/apache/logs/error_log tail -f /usr/local/cpanel/logs/access_log tail -f /usr/local/apache/logs/modsec_audit.log tail -f /etc/apache2/logs/modsec_audit.log tail -f /var/log/exim_mainlog
    *press Ctrl+C stop to retrieve the log For cpanel: cd /usr/local/cpanel/logs ls -la tail -f /usr/local/cpanel/logs/access_log For specific username: tail -f /home/UsernameHere/public_html/error_log
    0
  • cPanelMichael
    Hello, You may also find the following thread helpful: Troubleshooting high server loads on Linux servers Thank you.
    0

Please sign in to leave a comment.