My box is showing an unexplained surge in CPU usage. The system is now running at 70-99% CPU at idle, and with 1 call, it’s always 99%, and the call quality has degraded immensely.
Worked fine, and then all of a sudden this happened.
Both of the following log files are over 1 GIGABYTE EACH, and growingquick. Is it ok to delete them, and start fresh?..
/var/log/asterisk/full
/var/log/asterisk/full.0
yes you can delete the log files safely.
Although if you open them is there anything in there that jumps out at you that might be a cause of your issue?
What @Dickson said - the log files are there to tell you the story behind what your system is doing, so you might want to tail them for a while to see what’s going on.
Found the problem viewing the live logging (tailf /var/log/asterisk/full) !!!
I had created a new MOH stream that was empty. That was it! Deleted the empty stream, and problem solved! 0% CPU… Is this a bug that should be reported?