<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>2020. 06. 20, szombat keltezéssel 21.31-kor Simon Matter ezt írta:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre><br></pre><pre>Hi,</pre><pre><br></pre><pre>The question is why is the deliver db > 2GB in skiplist format? Is it</pre><pre>normal or do you have a corrupt BDB db or does your db pruning not work</pre><pre>for deliverdb. I think that should be something like 'delprune </pre><pre>cmd="cyr_expire -D 7 -E 3 -X 7" at=0400' in cyrus.conf.</pre><pre><br></pre><pre>I think the easiest way would be to make sure you have pruning configured</pre><pre>correctly, then change config of deliver db to skiplist, and start without</pre><pre>a db so a new, empty deliver db is created.</pre><pre><br></pre><pre>Then have an eye on the db file to see if it grows again to almost 2GB. If</pre><pre>it doesn't grow so much, you should be fine.</pre><pre><br></pre><pre>Regards,</pre><pre>Simon</pre><pre><br></pre><pre><br></pre></blockquote><pre><br></pre><pre>Hi,</pre><pre>Thank you for your answer!</pre><pre>I have this in my config at EVENTS section:</pre><pre><br></pre><pre>EVENTS {</pre><pre> # this is required</pre><pre> checkpoint cmd="ctl_cyrusdb -c" period=30</pre><pre><br></pre><pre> # this is only necessary if using duplicate delivery suppression</pre><pre> delprune cmd="ctl_deliver -E 3" period=1440</pre><pre><br></pre><pre> # this is only necessary if caching TLS sessions</pre><pre> tlsprune cmd="tls_prune" period=1440</pre><pre>}</pre><pre><br></pre><pre>Regarding to users, we do not see any anomalies on daily use or restarting the server sometimes, only this exporting failed.</pre><pre><br></pre><pre>I issued the mentioned command on command line (cyr_expire -D 7 -E 3 -X 7) it finished in around 1-2 seconds. (At this moment there are no online users as this is weekend).</pre><pre><br></pre><pre>Additional information I forgot to mention:</pre><pre>there are a lot of shared email folder of the catchall account to share common mailboxes.</pre><pre><br></pre><pre>I got this error after some lines, when I run /usr/lib/cyrus-imapd/ctl_deliver -d</pre><pre><br></pre><pre>fatal error: Internal error: assertion failed: duplicate.c: 344: (datalen == sizeof(time_t)) || (datalen == sizeof(time_t) + sizeof(unsigned long))</pre><pre><br></pre><pre>Probably deliver.db itself is corrupted?</pre><pre><br></pre><pre>Cheers,</pre><pre>István</pre><pre></pre></body></html>