Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Smarti Chatpal Backend causes 100% CPU load on Mongo #247

Closed
westei opened this issue May 14, 2018 · 0 comments
Closed

Smarti Chatpal Backend causes 100% CPU load on Mongo #247

westei opened this issue May 14, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@westei
Copy link
Member

westei commented May 14, 2018

The Smarti Backend for Chatpal causes 100% CPU load on the Mongo Cluster.

An analysis of the db.currentOp() result shows that cloud sync requests (used for keeping the chatpal Solr indexes in sync with the MongoDB) are taking way to long (100+ sec) and are also blocking update requests for new messages to be indexed.

@westei westei added this to the 0.7.2 milestone May 14, 2018
@westei westei self-assigned this May 14, 2018
westei added a commit that referenced this issue May 14, 2018
* Added additional indexes to the chatpal collection
    * especially on the modified date
* sync delay is now configureable via the `chatpal.cloudSync.delay` property (in ms)
@Peym4n Peym4n modified the milestones: 0.7.2, v0.7.2 May 14, 2018
@westei westei closed this as completed May 16, 2018
@westei westei removed the in review label May 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants