Kernel Logs growing to large size!

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
xtremo
Level 1
Level 1
Posts: 33
Joined: Sun Oct 19, 2008 10:48 am
Location: Granada, Spain

Kernel Logs growing to large size!

Post by xtremo » Thu Mar 02, 2017 2:31 pm

Hi guys.....I've got a problem with the kernel logs growing to a very large size.

If you check the attachment you'll see some of them are over 150GB.......and this installation has only been in for 3 weeks.

I'm on Mint 18.1 Cinammon 64 bit, i3-6100, 8GB RAM, Sky Lake Integrated Graphics. Basically it's a bog standard HP desktop.......nothing out of the ordinary.

Any ideas, because I'm now running out of diskspace.......and I'm wary of just deleting them in case it causes a crash.

My suspicion is the Sky Lake graphics!

User avatar
Flemur
Level 17
Level 17
Posts: 7305
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Kernel Logs growing to large size!

Post by Flemur » Thu Mar 02, 2017 4:32 pm

xtremo wrote:My suspicion is the Sky Lake graphics!
My syslog is usually < 1 Meg; take a look at yours - it's a text file - and see what error/warning message is repeating!

Edit: same for your kern.log - mine is 3Meg.
This might show the problem(s):

Code: Select all

tail syslog
tail kern.log
/edit

You can get rid of the old files (.old, .gz, .1, etc...) without hurting anything:

Code: Select all

cd /var/log
sudo find . -type f -name "*.old" -exec rm -f {} \;
sudo find . -type f -name "*.gz" -exec rm -f {} \;
sudo find . -type f -name "*.1" -exec rm -f {} \;
sudo find . -type f -name "*.2" -exec rm -f {} \;
sudo find . -type f -name "*.3" -exec rm -f {} \;
sudo find . -type f -name "*.4" -exec rm -f {} \;
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

xtremo
Level 1
Level 1
Posts: 33
Joined: Sun Oct 19, 2008 10:48 am
Location: Granada, Spain

Re: Kernel Logs growing to large size!

Post by xtremo » Thu Mar 02, 2017 4:50 pm

Many thanks......that's cleared the rubbish.

I've done some other searches and it all points to the Skylake Graphics.

I was going to put an nVidia card in there anyway.........so once that arrives I'll clear logs again and monitor from that point on!

Post Reply

Return to “Newbie Questions”