extremely large log files in /var/log
I ran out of disk space in the root filesystem folder, and after analysing the disk usage I have noticed that my /var/log folder is enormous - 3.3 GB. The following output giver more information
$ ls -Slh /var/log/ | head
total 3.3G
-rw-r----- 1 syslog adm 1.1G 2008-10-26 19:09 syslog
-rw-r----- 1 syslog adm 1.1G 2008-10-26 17:05 kern.log
-rw-r----- 1 syslog adm 1.1G 2008-10-26 19:05 messages
-rw-r----- 1 syslog adm 15M 2008-10-26 11:20 kern.log.0
-rw-r----- 1 syslog adm 14M 2008-10-26 11:20 syslog.0
-rw-r----- 1 syslog adm 14M 2008-10-26 11:20 messages.0
-rw-r----- 1 root adm 1.9M 2008-10-26 17:15 dpkg.log
-rw-r----- 1 syslog adm 1016K 2008-10-26 17:04 debug
-rw-r----- 1 syslog adm 463K 2008-10-21 11:30 debug.0
syslog, messages and kern.log are each 1.1 GB . I have looked at the first and last lines in the files nothing unusual. I have backed up theese files to investigate them. If you have any ideas don't hesitate to ask for further info.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: