-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Searches does not return results and freezes MongoDB #48
Comments
Oh, and to add insult to injury, search eventually freezes up MongoDB causing it to be non-responsive, in turn crashing NodeBB. |
Does search acquire a global read lock? I hope I'm reading that wrong. Update: I think the lock is just for counts? |
I'm running on a 4GB instance. XFS disk and THP turned off.
|
Can you post the output of |
Also compared to our community forum your avg object size is 10x bigger not sure why that is.
What are the other 3 collections on that database? |
|
The output is massive do you want everything or just a subset? |
I still have the But, we do have a lot of long posts in our system. Especially the game topics, which comprise about 800k out of 1.2M posts. This topic is an example of that: I'll snapshot my database and run the script to remove the imported data. |
I deleted all the old import data and the data size went down significantly. I updated the dbstats with the "after" data. |
Yeah post the enitre thing. |
This is for the latest version 3.0.0
As you know I have a large index of posts: 378,189 (which is down from 1.2M). Despite fewer posts in the index, search rarely returns results. When it does it take 30+ seconds to return.
The text was updated successfully, but these errors were encountered: