Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1420

Administrators • ZBUG-4827: Contact Ranking fetch causing slowness (Java Consumes 100% of CPU)

$
0
0
Zimbra have created ZBUG-4827 in response to a Support Case we opened where we observed Java was consuming 100% of a mailstore's CPU, sometimes for more than an hour. Note this is on 10.0.13.

This is not the mailbox locking issue that others have experienced; this is due to an issue with the per-user contacts ranking database, where autocomplete doesn't finish in a timely manner. Support noted one instance in our logs where the autocomplete took more than an hour to finish.

You can turn off this feature entirely:

Code:

su - zimbrazmlocalconfig -e contact_ranking_enabled=falsezmmailboxdctl restart
Or, you can reset each impacted user's autocomplete database manually via https://wiki.zimbra.com/wiki/Reset_cont ... te_ranking. But first you have to find out which users are having autocomplete issues.

I wrote a simple zgrep command you can run on each of your mailstores to do that. It looks through mailbox.log files and identifies user accounts whose autocomplete took longer than 2 seconds, and how many times that happened:

Code:

zgrep -E "autocomplete: overall=([2-9][0-9]{3,}|[0-9]{5,})ms" ~/log/mailbox.log* | grep -o "name=[^;]*" | sort | uniq
I also did a blog post with more details if you are interested: https://www.missioncriticalemail.com/20 ... plete-bug/

Do please consider voting for ZBUG-4827 when it appears on pm.zimbra.com!

Hope that helps,
Mark

Statistics: Posted by L. Mark Stone — Tue Apr 22, 2025 2:08 pm



Viewing all articles
Browse latest Browse all 1420

Latest Images

Trending Articles



Latest Images