Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have issue: the syslog and kernel log files jumped to few GB each and consumed all disk space on the machine (I have total 10G partition there as main).

Can you please investigate the root-cause of such? We need to understand what caused to big amount of the messages to be written there. In the meantime, we cleaned the logs, but it is growing again….

Strange thing is that it is not growing on all machines, but only on few of those – regardless to what HPA component is installed there…

share|improve this question
2  
Did you, per chance, look into the log files? Why don't you post one of them online, or at least a fragment? –  January Jul 11 '13 at 16:24
1  
What is a HPA component? –  guntbert Jul 11 '13 at 16:34
    
isn't there an logging function that pipes logs to archives after a certain file size? I think there is. yeah, its logrotate. Ive only ever seen it fail on hacked systems. You might check into #logrotate -f and read man logrotate. As the man pages says, this usually runs daily, as a cron job. maybe check out what cron is doing as well. –  j0h Jul 11 '13 at 16:50
    
As suggested by the first 2 comments, logs usually grow to large sizes when there is a problem. Examine the and post the errors. –  bodhi.zazen Jul 11 '13 at 17:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.