We are a new installation and have been running asterisk Asterisk 1.8.6.0 for a few weeks at multiple sites. All is fantastic except Asterisk has failed twice. I have noticed that both failures have occurred while I was in /var/log/asterisk/messages via VIM.
Potential Solution: Don’t VIM /var/log/messages…
However, this is only a theory. Has anyone else encountered this? Is this a known (or obvious) issue?
I have not proved this but we are currently running a controlled test in our test lab to prove/disprove this scenario.
Logging does crash servers, Running full logging on a busy server will bring it down, seen it happen a few times.
As to full logging only use this to debug a problem otherwise just use messages.
Im guessing by locking the file with vim it also causes issues similar to doing a ctrl s on the console screen. there is no need to use vim to look at a log file use cat more or tail.