Re: .xsession-errors occupying 4.7Gb

From: Ron Johnson (ron.l.johnson_at_cox.net)
Date: 01/29/05

  • Next message: Ron Johnson: "Re: what is my IP?"
    To: Debian-User <debian-user@lists.debian.org>
    Date: Sat, 29 Jan 2005 10:02:22 -0600
    
    
    

    On Sat, 2005-01-29 at 16:21 +0100, Olle Eriksson wrote:
    > Hi
    >
    > I just thought I'd mention this here for those who are not aware of it.
    >
    > My disk usage has seemed to grown the last year or so and I havn't been
    > able to understand what it is that takes so much space. Today I was
    > playing around with 'du' and couldn't get the numbers to add up. Then I
    > saw that the file ~/.xsessions-errors had grown to a huge size, about 4.7
    > Gigabytes. When I finally got rid of it I freed about half the size of my
    > root partition. :-)
    >
    > Because this file is used by countless X applications it can't be deleted
    > properly. What seems to work is this:
    >
    > cat /dev/null > ~/.xsession-errors
    >
    > Now I have this in a cron script run every night.
    >
    > So if you are having problems with disk space, check out this file.

    Before blindly overwriting it, did you look into it to see why
    it is sooooooooo big?

    dir .xsession-errors
    -rw------- 1 me me 1611951 2004-08-21 17:24 .xsession-errors

    -- 
    -----------------------------------------------------------------
    Ron Johnson, Jr.
    Jefferson, LA USA
    PGP Key ID 8834C06B I prefer encrypted mail.
    "Pacifism can act more effectively against democracy than for
    it."
    George Orwell, 1941
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Ron Johnson: "Re: what is my IP?"

    Relevant Pages

    • .xsession-errors occupying 4.7Gb
      ... My disk usage has seemed to grown the last year or so and I havn't been ... Because this file is used by countless X applications it can't be deleted ... Now I have this in a cron script run every night. ... So if you are having problems with disk space, ...
      (Debian-User)
    • Re: A newbie walks into a room...
      ... >> Du gives an approximation, which is all most people need. ... >> And often, actual disk usage is what they really want, because ... "Sparse files". ... if your concern was seeing how much disk space you ...
      (comp.os.linux.misc)
    • Re: Root Partition (C:) Free Space disappearing
      ... The du (disk usage) utility from sysinternals.com might help track down ... which folder is growing. ... > Over the past couple of weeks I vave had significant amounts of disk space ... > disappear from my C: ...
      (microsoft.public.windows.server.sbs)
    • Re: A newbie walks into a room...
      ... >>takes only 223 MB of disk space.) ... There needn't be any compression. ... Google can explain the concept of "sparse files" far better ... Filesize will be about 1MB but disk usage is only 1KB. ...
      (comp.os.linux.misc)