Results 1 to 7 of 7

Thread: SOS,my opensuse 11.1 eat up all my disk!

  1. #1
    microcore NNTP User

    Exclamation SOS,my opensuse 11.1 eat up all my disk!

    dear friends:
    Glad you read this post.I come here,desperately ,to find a solution to my problem.

    Just now,I was programming in C on my platform,openSUSE 11.1.Then one CPU of my dual core run at 100% ultilization.At first,I didn't bring it to mind,but soon I found my free disk space decreased rapidly,from 16GB to 4.7 GB.As it did not affect my working,I didn't pay it more attetion.Just 5 minutes later,the emacs reported error that it has no space available on the device.So I turn to the system monitor,amazed,I found there was no free space,that was 0% available on my disk.
    In emacs,I typed Ctrl+x,Ctrl+s and it reported writing failed.
    I restarted my computer,disappointed,it didn't take effects.
    How could I do with my fully-ultilized disk and my poor computer?
    Look forward to your help.Many thanks.

    Hongbao Chen
    P.R.China

  2. #2
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: SOS,my opensuse 11.1 eat up all my disk!

    Sounds like something is writing an endless stream of log, I have a hunch as to what it is

    Look at your home directory directory and observe the file .xsession-errors, is this file by any chance retardedly huge (as in gigabytes)?

  3. #3
    microcore NNTP User

    Exclamation SOS,my opensuse 11.1 eat up all my disk!

    dear friends:

    (Actually,I have posted this article in the Hardware section,but I really want a solution as soon as possible because it is near the deadline of my homework.)
    Glad you read this post.I come here,desperately ,to find a solution to my problem.

    Just now,I was programming in C on my platform,openSUSE 11.1.Then one CPU of my dual core run at 100% ultilization.At first,I didn't bring it to mind,but soon I found my free disk space decreased rapidly,from 16GB to 4.7 GB.As it did not affect my working,I didn't pay it more attetion.Just 5 minutes later,the emacs reported error that it has no space available on the device.So I turn to the system monitor,amazed,I found there was no free space,that was 0% available on my disk.
    In emacs,I typed Ctrl+x,Ctrl+s and it reported writing failed.
    I restarted my computer,disappointed,it didn't take effects.
    How could I do with my fully-ultilized disk and my poor computer?
    Look forward to your help.Many thanks.

    Hongbao Chen
    P.R.China

  4. #4
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: SOS,my opensuse 11.1 eat up all my disk!

    Hi microcore! To be able to see which files are eating the space, please execute
    Code:
    du -kxm / | sort -r -n | more > OVERVIEW.txt
    in your root directory. The files will be sorted by size and presented in more, largest files first, in MB. Result should be an overview and you might find the logs easier as well as the task that keeps writing those.
    Just open the created logfile "OVERVIEW.txt" (placed in your root directory) with an editor of your choice. Please feel free to post your log if you don't know how to proceed.

    TheMask.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,793
    Blog Entries
    14

    Default Re: SOS,my opensuse 11.1 eat up all my disk!

    Dear chinese friend. It's probably some log file growing at incredible speed, due to errors.
    First you'll have to find out which file(s) grow so fast. Try to find files or folders bigger than 1 GB, and post here wich ones they are. We will try to help you from there.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: SOS,my opensuse 11.1 eat up all my disk!

    hi,

    preferably in a live cd run the following command in bash:

    Code:
    find / -size +500M -nowarn -exec ls -l {} \; -print 2>/dev/null
    this will find you all files which are greater than or equal to 500 megabyte. as Knurpht said, especially look for log files (in folders such as /var/log).

    you might also want to clean your /tmp/ directory. in a live cd simply delete everything, otherwise edit in your Suse in /etc/sysconfig/cron these parameters:

    Code:
    MAX_DAYS_IN_TMP="1"
    MAX_DAYS_IN_LONG_TMP="0"
    LONG_TMP_DIRS_TO_CLEAR=""
    OWNER_TO_KEEP_IN_TMP="root"
    CLEAR_TMP_DIRS_AT_BOOTUP="yes"
    then reboot. while booting your tmp dirs get cleaned.

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: SOS,my opensuse 11.1 eat up all my disk!

    Please don't double post. It causes confusion. I've combined the two threads for you.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

Tags for this Thread

Posting Permissions

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