dumpster not purged

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
sgiunchi
Posts: 15
Joined: Sat Sep 13, 2014 1:04 am

dumpster not purged

Postby sgiunchi » Sat Jul 15, 2017 10:24 am

I have a 100 users Zimbra 8.6, with a quota of 2GB each, dumpster enabled for 30days.

When the disk filled, I did a du of the store folder and I found it is 400GB.
There are mailboxes whith 25GB of used space, and I found that it's the dumpster not cleaned.

I manually cleaned the dumpster for some users, but how can I see why the dumpster is not cleaned automatically after 30days?
Should it be a cron job?

Thanks


phoenix
Ambassador
Ambassador
Posts: 26209
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: dumpster not purged

Postby phoenix » Sat Jul 15, 2017 10:58 am

Have you checked that everything is set correctly? Check with this article: https://wiki.zimbra.com/wiki/Enable_and ... a_Dumpster
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
sgiunchi
Posts: 15
Joined: Sat Sep 13, 2014 1:04 am

Re: dumpster not purged

Postby sgiunchi » Sun Jul 16, 2017 4:17 pm

phoenix wrote:Have you checked that everything is set correctly? Check with this article: https://wiki.zimbra.com/wiki/Enable_and ... a_Dumpster


Hi phoenix, thanks for the answer.
I did check the values, in all COSes:
zimbraDumpsterEnabled "TRUE"
zimbraDumpsterUserVisibleAge "30d"
zimbraMailDumpsterLifetime "30d"
zimbraDumpsterPurgeEnabled "FALSE"

at first I thought the problem was in the last value, but it's only the ability for the user to clean the dumpster.

Anyway, I have now disabled the dumpster and now I have 79GB of used space (it was 500 before cleaning the dumpster!), so I can't make other tests anymore.
But I'm still curious to know if I could see any error in the logs, for the dumpster inability to clean.

thanks
User avatar
DualBoot
Elite member
Elite member
Posts: 1073
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: dumpster not purged

Postby DualBoot » Sun Jul 16, 2017 4:20 pm

You need to set to TRUE zimbraDumpsterPurgeEnabled . So the dumpster will be emptied .
I think it is a non sense from Synacor that this parameter is set to FALSE by default.
sgiunchi
Posts: 15
Joined: Sat Sep 13, 2014 1:04 am

Re: dumpster not purged

Postby sgiunchi » Mon Jul 17, 2017 9:53 am

DualBoot wrote:You need to set to TRUE zimbraDumpsterPurgeEnabled . So the dumpster will be emptied .
I think it is a non sense from Synacor that this parameter is set to FALSE by default.


https://wiki.zimbra.com/wiki/Enable_and ... a_Dumpster

zimbraDumpsterEnabled – TRUE/FALSE determines if the dumpster feature is enabled or disabled.
zimbraDumpsterPurgeEnabled – TRUE/FALSE determines if the users can empty/purge their dumpster.
zimbraDumpsterUserVisibleAge – n, where n is the number of days to allow users to view and recover the messages stored in the dumpster.
zimbraMailDumpsterLifetime – n, where n is the number of days to keep items stored in the dumpster before automatically purging them.

If it's as you say, there's a bug in the documentation.
I think the dumpster cleaning happens with zimbraMailDumpsterLifetime
User avatar
DualBoot
Elite member
Elite member
Posts: 1073
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: dumpster not purged

Postby DualBoot » Mon Jul 17, 2017 12:14 pm

zimbraDumpsterPurgeEnabled – TRUE/FALSE determines if the users can empty/purge their dumpster.

I confirm it is a bug into the documentation, set it to TRUE does not allow the user to empty the dumpster but allow the SYSTEM to do it when delay is reached.
sgiunchi
Posts: 15
Joined: Sat Sep 13, 2014 1:04 am

Re: dumpster not purged

Postby sgiunchi » Mon Jul 17, 2017 3:29 pm

DualBoot wrote:
zimbraDumpsterPurgeEnabled – TRUE/FALSE determines if the users can empty/purge their dumpster.

I confirm it is a bug into the documentation, set it to TRUE does not allow the user to empty the dumpster but allow the SYSTEM to do it when delay is reached.


I was creating a bug in bugzilla, but I found this:
https://bugzilla.zimbra.com/show_bug.cgi?id=105919
We'll see in the bug what's the real use of zimbraDumpsterPurgeEnabled.

Thank you
Stefano

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 24 guests