I sent the following message to dkarp, but he can't reply so far.
Does anyone have any ideas?
----
I'm writing this message to you because my post to Zimbra Forum won't be unanswered and I found you added "MailboxMap" class according to bug:23927.
Mailbox cache should be LRU instead of soft reference
Bug 23927 – Mailbox cache should be LRU instead of soft reference
We have a big problem that the size of index volumes become very large in our customer's production envrironment, which is integrated with ZCS5.0.16.
Now the size is 500GB, whichi is 38% of the size of message store
although we estimated it as 25%.
Our customer wants to reduce the percentage,and to move index data evenly to separate index volumes without restarting.
They don't want to restart mailboxd to keep their service level high.
Finally I found that I can do that by
calling MailboxMap#clear() method from my Zimbra extension so far, but I'm not sure whether it is acceptable or not, and I am concerned these change cause any adverse effect to the account.
I think clearing soft and hard cache by each user would be
the best, but I'm investigating it so far.
Do you have any ideas?
I look forward to your reply as this seems a engineering issue.
FYI, I am thinking of changing the index volume per a user by the following steps:
1. Set a taget user's mailbox to maintenance mode.
2. Copy the index directory of the user.
3. Update metadata.
4. Clear the cache of the mailbox so that the newly created index for the user can be stored in the new volume.
5. Revert the maintenance mode to active
6. Delete the older index directory.