Results 1 to 7 of 7

Thread: Rapidly Expanding SYSLOG and KERN file

  1. #1
    Join Date
    Feb 2009
    Location
    Isle of Kent
    Beans
    36
    Distro
    Ubuntu 12.04 Precise Pangolin

    Rapidly Expanding SYSLOG and KERN file

    I recently replaced my desktop hard drive (500G) and upgraded to 12.04 in the process. All in all, about 1/3 of the HD was filled after installing 12.04 and restoring my files. It's been working great until a few days ago, when I noticed slower performance and desktop messages indicating that I had very little space left on the HD (<1G). I did some digging into the file directory this morning to find that my syslog and kern files were HUGE (syslog was ~285G, kern was ~100G), and growing. I decided to reboot and now can't get onto the admin login at all, it appears that these two files have been quietly growing and now have completely bogged everything. Any thoughts on what I can do, short of wiping the drive and starting over??

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Rapidly Expanding SYSLOG and KERN file

    if you are talking about the log files, then simply delete them, and install logrotate (it should be already installed on a genuine installation)

    or do a fresh install to get rid of the oldish/borked settings files/folders.

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,757
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Rapidly Expanding SYSLOG and KERN file

    If your system is generating logs of this size, you have a problem that needs investigating. I suggest rebooting into recovery mode, so the logs won't continue to fill, then using "tail -n1000 /var/log/syslog" to see the last 1,000 lines of that file.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Feb 2009
    Location
    Isle of Kent
    Beans
    36
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Rapidly Expanding SYSLOG and KERN file

    Thanks, will give it a try tonight...

  5. #5
    Join Date
    Feb 2009
    Location
    Isle of Kent
    Beans
    36
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Rapidly Expanding SYSLOG and KERN file

    The drive is fully consumed and Ubuntu will not boot. I was able to recover/backup files by booting on the install disk. Going to start back at square-one and do a fresh install this weekend with a new install disk...

  6. #6
    Join Date
    Sep 2011
    Beans
    1,531

    Re: Rapidly Expanding SYSLOG and KERN file

    You couldn't boot it in recovery mode either?

  7. #7
    Join Date
    Feb 2009
    Location
    Isle of Kent
    Beans
    36
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Rapidly Expanding SYSLOG and KERN file

    Couldn't boot in recovery mode. Fresh install appears to be working fine, so far.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •