From: Alexander Gruber <alex@gruber.cn>
To: Valdis.Kletnieks@vt.edu
Cc: reiserfs-list@namesys.com
Subject: Re: disk runs full
Date: Fri, 13 May 2005 00:23:04 +0200 [thread overview]
Message-ID: <4283D747.1070606@gruber.cn> (raw)
In-Reply-To: <200505121510.j4CFAJdk012045@turing-police.cc.vt.edu>
[-- Attachment #1: Type: text/plain, Size: 1683 bytes --]
I already thought of this too but the output doesn´t look like as if
there are over 3GB not closed yet. Before the reboot i did a few minutes
ago only /dev/null was opened several times. I would say about 30-40
instances.
Valdis.Kletnieks@vt.edu wrote:
>On Thu, 12 May 2005 13:50:31 +0200, Alexander Gruber said:
>
>
>>I checked it with du -sh * on the root partition and the result was much
>>smaller than the used space reported by df.
>>
>>
>
>Note that temporary files are often creat()ed and then unlink()ed, leaving
>the open file descriptor as the last reference. You should probably run
>'lsof' or similar tool. On my laptop at the moment:
>
>lsof -n | grep dele
>cardmgr 2207 root 3u CHR 254,0 5556 /dev/cm-2123-2 (deleted)
>cardmgr 2207 root 4u CHR 254,1 5559 /dev/cm-2123-5 (deleted)
>cardmgr 2207 root 5u CHR 254,2 5562 /dev/cm-2123-8 (deleted)
>exmh 7142 valdis 10u REG 0,16 0 74035 /tmp/tclfG25oV (deleted)
>gconfd-2 7805 valdis 13wW REG 0,16 641 44735 /tmp/gconfd-valdis/lock/0t1115905590ut151063u967p7805r252866408k3219173544 (deleted)
>aspell 9481 valdis 2u REG 0,16 0 74035 /tmp/tclfG25oV (deleted)
>
>So there's 2 open but unlinked files on /tmp, and du and df will show up different
>values. (Note that exmh did an open() of a file, unlinked it, and then passed
>the open file descriptor to aspell as stdin - so that space will be reclaimed
>once *both* of those processes have done a close() on the file descriptor).
>
>
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3158 bytes --]
next prev parent reply other threads:[~2005-05-12 22:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-12 11:50 disk runs full Alexander Gruber
2005-05-12 15:10 ` Valdis.Kletnieks
2005-05-12 22:23 ` Alexander Gruber [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-11 22:15 Alexander Gruber
2005-05-12 7:30 ` Vladimir Saveliev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4283D747.1070606@gruber.cn \
--to=alex@gruber.cn \
--cc=Valdis.Kletnieks@vt.edu \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.