Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 8.7.24
-
Component/s: kopano-search
-
Security Level: Public
-
Labels:None
-
Environment:kc-8.7.23
kc-9.x
kc-10.x
kc-11.x
Description
REPRODUCE:
1. Remove search index
rm -rf /var/lib/kopano/search/*
2. Restart kopano-search
systemctl restart kopano-search
RESULT:
High CPU load for the kopano-search process
First reported on forums:
https://forum.kopano.io/topic/3810/upgrade-core-11-0-1-2-to-11-0-2-41-high-search-cpu-usage
Fix was also provided on the forums.
The issue seems to be caused by:
https://stash.kopano.io/projects/KC/repos/kopanocore/pull-requests/3541/diff#ECtools/search/kopano_search/__init__.py?t=202
The continue will cause a permanent loop