[Dovecot] Message size incorrect?
Timo Sirainen
tss at iki.fi
Tue Jan 16 23:21:32 UTC 2007
On Wed, 2007-01-17 at 01:05 +0200, Timo Sirainen wrote:
> On Tue, 2007-01-16 at 21:48 +0100, Tristan Woudenberg - Prism Mail
> Solutions wrote:
> > du -sh cur new
> > 4.1M cur
>
> From the ls -l output that you sent me:
>
> cat ls|awk '{print $5"+"}'|tr -d '\n'|sed 's/+$/\n/'|bc
> 3488542
>
> So your filesystem has lost 0,7MB somehow. Are there any hidden files
> (ls -la)? If not, then I can think of two things:
>
> 1) There's a large file (or more) that have already been deleted, but
> some process (stuck maybe?) still keeps them open. But if you've
> rebooted since, this can't be the case.
>
> 2) Your filesystem has messed up something.
Actually the most obvious reason that I for some reason failed to think
of:
3) Your filesystem's block size is 4kB, and there's lots of wasted space
because of that.
cat ls|awk '{print "("$5"+4095)/4096+"}'|tr -d '\n'|sed 's/^/(/'|sed
's/+$/)*4096\n/'|bc
4096000
So, no bugs anywhere.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070117/73721545/attachment.pgp
More information about the dovecot
mailing list