mdbox: purge only if it's worthwhile

2022-08-12 Thread Sven Strickroth
Hi, with the mdbox storage one needs to regularly run purge to really clean up deleted mails from the storage. Running purge can be an IO intensive task as the files are append-only and even if in a 10 MB mdbox file only a small mail is deleted all other mails need to be copied to a new file

Should one prevent reconnection before expunge?

2022-08-12 Thread Jack Cecil
Hello. From my understanding the 'autoexpunge' feature activates on user disconnect. But could you help me understand the 'doveadm expunge' feature better? If a Maildir has 20 thousand messages and user is reading it over IMAP I have a suspicion it is not a good idea to be rewriting the doveco

dovecot/config processes open, and consuming all memory

2022-08-12 Thread fil...@digirati.com.br
I'm having strange behavior in dovecot 2.3.16. It's opening dozens of dovecot/config process and consuming all server memory. Normally each process consumes between 700Mb and 1Gb of ram. Would anyone have an idea about this? service config {   vsz_limit = 2048M   idle_kill = 60s   service_coun

Re: dovecot/config processes open, and consuming all memory

2022-08-12 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
for what's it is worth i am not running any vsize on the config service config { unix_listener config { user = vmail } } i'm just running defaults i do use vsz_limit elsewhere main to curve the replication processes ?? never had an issue 2.3.17 / 18 / 19 never used 16 (fyi) mayb