Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Logs eating up all disk space

  1. #1
    Join Date
    Aug 2010
    Beans
    121
    Distro
    Ubuntu 12.04 Precise Pangolin

    Logs eating up all disk space

    I have problem with logfiles. Three logfiles, that is:

    kern.log
    messages
    syslog

    Grown up to 21.2 GB each, making it 63.6 GB total. I don't want to keep them, anyway. It seems just wasting space with millions of lines. Is it safe to clean them and how to do it?

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Logs eating up all disk space

    They shouldn't be growing that large.

    Have you checked them for error messages?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Jun 2010
    Location
    Portugal
    Beans
    337
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Logs eating up all disk space

    I had the same problem.... and since it was due to a known issue of my hardware I disabled the log files..... and it worked

    Just read to this site http://www.linuxlog.org/?p=104

  4. #4
    Join Date
    Aug 2010
    Beans
    121
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Logs eating up all disk space

    I've retrieved last 10 lines of file with tail... It seems all three files are filled with lines like that:

    Code:
    Dec 30 00:29:32 localhost kernel: [54202.155213] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x37 length 0 status 00000600!
    Dec 30 00:29:32 localhost kernel: [54202.155217] eth0: Oversized Ethernet frame f262c370 vs f262c370.
    Dec 30 00:29:32 localhost kernel: [54202.155222] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x38 length 2044 status 07fc1519!
    Dec 30 00:29:32 localhost kernel: [54202.155227] eth0: Oversized Ethernet frame f262c380 vs f262c380.
    Dec 30 00:29:32 localhost kernel: [54202.155378] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x39 length 0 status 00000600!
    Dec 30 00:29:32 localhost kernel: [54202.155382] eth0: Oversized Ethernet frame f262c390 vs f262c390.
    Dec 30 00:29:32 localhost kernel: [54202.155387] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x3a length 2044 status 07fc1519!
    Dec 30 00:29:32 localhost kernel: [54202.155391] eth0: Oversized Ethernet frame f262c3a0 vs f262c3a0.
    Dec 30 00:29:32 localhost kernel: [54202.155874] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x3b length 0 status 00000600!
    Well, seems eth0 causing some problems...

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Logs eating up all disk space

    Is that machine accessible from the internet?

    I saw a post where they said that the error may occur if the machine cannot keep up with the data being sent along the PCI bus. The post was from 2004 on Gentoo, so I don't know if it's still applicable.
    Last edited by CharlesA; December 29th, 2011 at 10:03 PM.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Aug 2010
    Beans
    121
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Logs eating up all disk space

    Well, there are 4 forwarded ports, so it might be accessible, but most of time nothing listens to opened ports. But it's definitely not a server.

    It's quite strange and explains a lot, that was happening with eth0 (recently it became not too responsible, sometimes totally won't work).

  7. #7
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Logs eating up all disk space

    Quote Originally Posted by NilPointer View Post
    I've retrieved last 10 lines of file with tail... It seems all three files are filled with lines like that:

    Code:
    Dec 30 00:29:32 localhost kernel: [54202.155213] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x37 length 0 status 00000600!
    Dec 30 00:29:32 localhost kernel: [54202.155217] eth0: Oversized Ethernet frame f262c370 vs f262c370.
    Dec 30 00:29:32 localhost kernel: [54202.155222] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x38 length 2044 status 07fc1519!
    Dec 30 00:29:32 localhost kernel: [54202.155227] eth0: Oversized Ethernet frame f262c380 vs f262c380.
    Dec 30 00:29:32 localhost kernel: [54202.155378] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x39 length 0 status 00000600!
    Dec 30 00:29:32 localhost kernel: [54202.155382] eth0: Oversized Ethernet frame f262c390 vs f262c390.
    Dec 30 00:29:32 localhost kernel: [54202.155387] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x3a length 2044 status 07fc1519!
    Dec 30 00:29:32 localhost kernel: [54202.155391] eth0: Oversized Ethernet frame f262c3a0 vs f262c3a0.
    Dec 30 00:29:32 localhost kernel: [54202.155874] eth0: Oversized Ethernet frame spanned multiple buffers, entry 0x3b length 0 status 00000600!
    Well, seems eth0 causing some problems...
    Indeed! There are over sized frames being sent to that interface. The MTU should be 1500 unless you config it to be something else. This is most likely a LAN problem. I don't think anybody would send jumbo frames across the Internet.

  8. #8
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Logs eating up all disk space

    Quote Originally Posted by NilPointer View Post
    Well, there are 4 forwarded ports, so it might be accessible, but most of time nothing listens to opened ports. But it's definitely not a server.

    It's quite strange and explains a lot, that was happening with eth0 (recently it became not too responsible, sometimes totally won't work).
    Hrm, I'd put in a new NIC and disable that one and see if the messages go away. It could be that the eth0 NIC is failing and causing problems.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #9
    Join Date
    Aug 2010
    Beans
    121
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Logs eating up all disk space

    I've tried "sudo ifconfig eth0 mtu 1500" and modem reboot.

    It's now responding. No new messages were added to logs. So, I'll now clean them and see if new oversized frames will appear. If they will, then really router may be dying.

  10. #10
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Logs eating up all disk space

    Quote Originally Posted by NilPointer View Post
    I've tried "sudo ifconfig eth0 mtu 1500" and modem reboot.

    It's now responding. No new messages were added to logs. So, I'll now clean them and see if new oversized frames will appear. If they will, then really router may be dying.
    You can permanently config that in /etc/network/interfaces. In the eth0 section as
    Code:
    mtu 1500
    Then you can either restart the networking or reboot the machine.

    Edit: But you are right -- you should not have over sized frames coming to eth0 in the first place
    Last edited by redmk2; December 29th, 2011 at 10:37 PM.

Page 1 of 2 12 LastLast

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
  •