Over the past couple months, I’ve noticed my Macbook Pro running excessivley hot and the battery life startlingly short considering the battery isn’t even a year old. Today I found the culprit and would like to share it with you guys.
First, the symptoms are:
– Fans running excessively
– Computer running hot
– Short battery life
The culprit is a system process called “syslogd”; it can run amok and go crazy with CPU usage. If you open Activity Monitor and make sure it’s showing All Processes, you can find syslogd by typing it’s name in the filter.
Normally, it’s CPU usage should be 0, or 0.1, or maybe as high as 1 or 2. In some cases, like mine, it will be using anywhere from 95 to 108. This is bad.
The problem can be fixed very easily, though. The reason the system process spins out of control seems to be a corrupt log file that it uses. This can be fixed by three simple commands in the terminal:
sudo launchctl stop com.apple.syslogd
sudo rm /var/log/asl.db
sudo launchctl start com.apple.syslogd
These three commands, in order, tell the computer to stop the syslogd process, delete it’s log file, then restart the process.
Doing this seems to have solved the problem for me. My computer is no longer scortching hot all the time, the fans aren’t going crazy, and my battery life has nearly 2 more hours of life!