LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2017, 05:35 PM   #1
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
/var/log/ size increases


I've got 5 OSs on my machine, all linux. Debian/antix/Xubuntu. 4 of them have /var/log/ increase size extremely minimally and slowly. i.e. in 2 weeks I get about 9 MB in /var/log/.
The most recent installation (antix17 pre rc1) gets over 140 MB in a couple of hours and well over 400 MB in a couple of days.
What up with that?

On this machine (as far as antix goes) I've had antix 15.1, 16.0, 16.1, 16.2, 17.a1, a2 and a3. 17.b1, b2 and b3. And finally 17 pre rc1.

Only antix 16.1 and 17 pre rc1 have done this.
 
Old 09-21-2017, 01:41 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
check which logfile is that (within that directory)
 
Old 09-21-2017, 02:00 AM   #3
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
What specifically is in those 100s of MB? Same msg? One thing misconfigured? There's zillions of details that could cause a flood of logging. Which is saying what? Let us know.
 
Old 09-21-2017, 11:22 AM   #4
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by pan64 View Post
check which logfile is that (within that directory)
The log files are "debug", "kern.log" and "syslog".

Quote:
Originally Posted by !!! View Post
What specifically is in those 100s of MB? Same msg? One thing misconfigured? There's zillions of details that could cause a flood of logging. Which is saying what? Let us know.
Holy moly, I can't believe I didn't notice this. Every entry is about the kernel, so I've replaced the kernel and we'll see if there's improvement. Ya know, maybe it wasn't a good idea to use an Ubuntu kernel. We'll see.

Anyway, thanks people. I appreciate it.

Edit: If anyone knows how I can find a debian kernel 4.11.0, that would be great. From what I've seen, debian jumps from kernel 4.10.5 to 4.12.x

Last edited by DVOM; 09-21-2017 at 11:30 AM.
 
Old 09-21-2017, 11:44 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
antiX is Debian based. If you've used the Ubuntu kernel to boot it, I'd say that behavior is undefined, and also a likely explanation for what you're seeing.
 
Old 09-21-2017, 09:08 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I once installed a major Linux OS in which logrotate was not installed and active by default; I'm certain it was just a glitch.

The log files quickly grew out of hand until I realized what was missing.
 
Old 09-24-2017, 01:48 PM   #7
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Original Poster
Rep: Reputation: 48
OK, 3 days later and /var/log/ is still behaving nicely. So thanks people.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
/var/log/messages size karimasif Linux - Newbie 2 09-08-2007 08:23 AM
/var/log/boot.log has size 0 ?? jhwilliams Fedora 3 06-16-2007 08:55 AM
How to control log file size in /var/log? yan Linux - General 2 10-13-2003 05:00 PM
/var/log/lastlog size ??? nabil Linux - General 0 10-09-2002 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration