Hi
Vladislav,
Yes, I don't actually have the expunge_mode option in the configs, so the default "delayed" is applied. I've just tried some experiments with cyr_expire, the -X n option alone clears everything, including the shared DAV folders, but I can't find how to clear only some shared DAV folder. The -p and -u options seem not to work as intented on the shared DAV folders (user-owned DAV folders are cleared with -p <user> param). Any idea how to accomplish this? Regards, Anatoli From:
Vladislav Kurz
Sent: Monday, November 19, 2018 05:50 To: Info-cyrus Subject: Re: WebDAV folders internally have hundreds of copies of the same few files On 11/14/18 2:54 PM, Ken Murchison wrote: On 11/13/18 10:15 PM, Anatoli wrote:Hi, I'm not sure this is due to some configuration option, bug or feature, but I'm observing some folders on Cyrus HTTP WebDAV server having hundreds (995 at this moment to be precise) internal files in the format "NNN." that correspond to the same file but different versions in time. There are 2-3 files (xls) in the folder that are edited constantly during the day and it looks like each save operation creates a new file. The files are of some 3-5Mb each. In the explorer/web view there are only a couple of files with a total size of 17.5Mb, but the reported disk usage for the folder is of 1.6Gb. Could someone please shed some light on what's going on and how to make each file visible to the users to be stored in only one internal file? Thanks, AnatoliBecause *DAV is layered on top of an IMAP store, we have to abide by IMAP semantics in which messages (in this case DAV resources) are immutable. Therefore, we can NOT overwrite an existing message in the mailbox. Each change MUST result in a new message. However, the server does mark the previous version(s) as deleted and expunged, which means that they will eventually be removed by cyr_expire. If you aren't running cyr_expire, you should consider adding an event to cyrus.conf to remove expunged messages (see -X option). Hello, you probably have "expunge_mode: delayed". That's why deleted mails (and *dav files) stay in place, until cleaned by cyr_expire as mentioned above. |
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus