public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Possible bug: ext3 misreporting filesystem usage
@ 2004-06-02 12:31 Calvin Spealman
  2004-06-02 16:53 ` Miquel van Smoorenburg
  0 siblings, 1 reply; 4+ messages in thread
From: Calvin Spealman @ 2004-06-02 12:31 UTC (permalink / raw)
  To: linux-kernel

I've been getting a possible bug after running my system a few weeks. The
ext3 partition's usage is being misreported. Right now, df -h says ive got
no space left, but according to du /, I'm only using 17 gigs of my 40 gig
drive. Restarting fixes the problem, so I'm thinking it might be some
mis-handled variable in memory, not something on the disc itself? And, yes,
I do know that du is right, not df, because I keep good track of my disc
usage. This is pretty serious, it killed a 40+ hour process that i'll have
to start over again from the beginning!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Possible bug: ext3 misreporting filesystem usage
  2004-06-02 12:31 Possible bug: ext3 misreporting filesystem usage Calvin Spealman
@ 2004-06-02 16:53 ` Miquel van Smoorenburg
  2004-06-03  0:49   ` Calvin Spealman
  0 siblings, 1 reply; 4+ messages in thread
From: Miquel van Smoorenburg @ 2004-06-02 16:53 UTC (permalink / raw)
  To: linux-kernel

In article <1275157.LnyMtzroWT@ironfroggy.com>,
Calvin Spealman  <calvin@ironfroggy.com> wrote:
>I've been getting a possible bug after running my system a few weeks. The
>ext3 partition's usage is being misreported. Right now, df -h says ive got
>no space left, but according to du /, I'm only using 17 gigs of my 40 gig
>drive. Restarting fixes the problem, so I'm thinking it might be some
>mis-handled variable in memory, not something on the disc itself? And, yes,
>I do know that du is right, not df, because I keep good track of my disc
>usage. This is pretty serious, it killed a 40+ hour process that i'll have
>to start over again from the beginning!

There's a process holding on to a 23 GB logfile that has been
deleted. Try "ls -l /proc/*/fd/* 2>&1 | grep deleted" . Kill the
process and you'll have your space back.

Mike.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Possible bug: ext3 misreporting filesystem usage
  2004-06-02 16:53 ` Miquel van Smoorenburg
@ 2004-06-03  0:49   ` Calvin Spealman
  0 siblings, 0 replies; 4+ messages in thread
From: Calvin Spealman @ 2004-06-03  0:49 UTC (permalink / raw)
  To: linux-kernel

Miquel van Smoorenburg wrote:

> In article <1275157.LnyMtzroWT@ironfroggy.com>,
> Calvin Spealman  <calvin@ironfroggy.com> wrote:
>>I've been getting a possible bug after running my system a few weeks. The
>>ext3 partition's usage is being misreported. Right now, df -h says ive got
>>no space left, but according to du /, I'm only using 17 gigs of my 40 gig
>>drive. Restarting fixes the problem, so I'm thinking it might be some
>>mis-handled variable in memory, not something on the disc itself? And,
>>yes, I do know that du is right, not df, because I keep good track of my
>>disc usage. This is pretty serious, it killed a 40+ hour process that i'll
>>have to start over again from the beginning!
> 
> There's a process holding on to a 23 GB logfile that has been
> deleted. Try "ls -l /proc/*/fd/* 2>&1 | grep deleted" . Kill the
> process and you'll have your space back.
> 
> Mike.

All that shows is a couple things from konq's http cache, nothing adding
nearly to the 23 gigs.

If i delete some files, i have more space, but then the used space steadily
increases until i have nothing left again. i am running a 2.6.6_rc1 kernel.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Possible bug: ext3 misreporting filesystem usage
       [not found] <22GWW-28x-43@gated-at.bofh.it>
@ 2004-06-07  9:19 ` Walter Hofmann
  0 siblings, 0 replies; 4+ messages in thread
From: Walter Hofmann @ 2004-06-07  9:19 UTC (permalink / raw)
  To: linux-kernel

> I've been getting a possible bug after running my system a few weeks. The
> ext3 partition's usage is being misreported. Right now, df -h says ive got
> no space left, but according to du /, I'm only using 17 gigs of my 40 gig
> drive. Restarting fixes the problem, so I'm thinking it might be some
> mis-handled variable in memory, not something on the disc itself? And, yes,
> I do know that du is right, not df, because I keep good track of my disc
> usage. This is pretty serious, it killed a 40+ hour process that i'll have
> to start over again from the beginning!

I have seen this too. See
 http://marc.theaimsgroup.com/?l=linux-kernel&m=108549779731780&w=2

No replies yet.

Walter

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-07  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 12:31 Possible bug: ext3 misreporting filesystem usage Calvin Spealman
2004-06-02 16:53 ` Miquel van Smoorenburg
2004-06-03  0:49   ` Calvin Spealman
     [not found] <22GWW-28x-43@gated-at.bofh.it>
2004-06-07  9:19 ` Walter Hofmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox