Re: dovecot.index.log files: what are they?

2014-12-11 Thread Thomas Klausner
On Wed, Dec 10, 2014 at 09:19:11PM +0100, Thomas Klausner wrote:
> Hi!
> 
> I have lots of these files:
> 
> /home/wiz/Mail/my-folder-name/cur/.imap/1238738125.13533_23713.danbala:2,S/dovecot.index.log
> 
> What are they for?
> Why are they here?
> Can I remove them?

This was a by-product of dovecot thinking that I had mbox mailboxes,
while they were maildir mailboxes. So dovecot created one of these
_for every single mail_, which is why I had so many of them.
 Thomas


Re: dovecot.index.log files: what are they?

2014-12-10 Thread Joseph Tam

Thomas Klausner writes:


RTFM: http://wiki2.dovecot.org/IndexFiles


Thanks, but I had read this.

I still don't know what they are good for, why they stay there for
days and if I can remove them. After all, they are not the caches, but
some "transaction logs" (I don't know what this is).


Re-read the page, all the way to the bottom.

Interpreting the last section:

The transaction log records recent changes to a mailbox, and together
with the index, gives the current state of the mailbox.  This is an I/O
optimization so that mailbox states changes are quickly updated without
having to compare an entire index file with the last (in-memory?) index.
For large mailboxes, this can save a lot of I/O.

It may persist because updates to the indices are not done immediately
(again, possibly to reduce I/O), so the current mailbox state is reflected
by the index file *and* deltas in the transaction log.

I suspect that you could remove the transaction logs (if you do not use
dbox) and dovecot should rebuild them (or more likely, rebuild the indices).

Joseph Tam 


Re: dovecot.index.log files: what are they?

2014-12-10 Thread Reindl Harald


Am 10.12.2014 um 21:48 schrieb Thomas Klausner:

On Wed, Dec 10, 2014 at 09:26:31PM +0100, Reindl Harald wrote:


Am 10.12.2014 um 21:19 schrieb Thomas Klausner:

I have lots of these files:

/home/wiz/Mail/my-folder-name/cur/.imap/1238738125.13533_23713.danbala:2,S/dovecot.index.log

What are they for?
Why are they here?
Can I remove them?


RTFM: http://wiki2.dovecot.org/IndexFiles


Thanks, but I had read this.

I still don't know what they are good for, why they stay there for
days and if I can remove them. After all, they are not the caches, but
some "transaction logs" (I don't know what this is)


http://en.wikipedia.org/wiki/Transaction_log

why don't you just keep your fingers from data maintained by a server 
application? it's not your business to touch them




signature.asc
Description: OpenPGP digital signature


Re: dovecot.index.log files: what are they?

2014-12-10 Thread Thomas Klausner
On Wed, Dec 10, 2014 at 09:26:31PM +0100, Reindl Harald wrote:
> 
> Am 10.12.2014 um 21:19 schrieb Thomas Klausner:
> >I have lots of these files:
> >
> >/home/wiz/Mail/my-folder-name/cur/.imap/1238738125.13533_23713.danbala:2,S/dovecot.index.log
> >
> >What are they for?
> >Why are they here?
> >Can I remove them?
> 
> RTFM: http://wiki2.dovecot.org/IndexFiles

Thanks, but I had read this.

I still don't know what they are good for, why they stay there for
days and if I can remove them. After all, they are not the caches, but
some "transaction logs" (I don't know what this is).
 Thomas


Re: dovecot.index.log files: what are they?

2014-12-10 Thread Reindl Harald


Am 10.12.2014 um 21:19 schrieb Thomas Klausner:

I have lots of these files:

/home/wiz/Mail/my-folder-name/cur/.imap/1238738125.13533_23713.danbala:2,S/dovecot.index.log

What are they for?
Why are they here?
Can I remove them?


RTFM: http://wiki2.dovecot.org/IndexFiles

https://www.google.at/search?q=dovecot.index.log



signature.asc
Description: OpenPGP digital signature


dovecot.index.log files: what are they?

2014-12-10 Thread Thomas Klausner
Hi!

I have lots of these files:

/home/wiz/Mail/my-folder-name/cur/.imap/1238738125.13533_23713.danbala:2,S/dovecot.index.log

What are they for?
Why are they here?
Can I remove them?

 Thomas