Posting to a Specific Thread Completely Locks Up NodeBB
-
Hmm once you are on that page you can inspect that element to get its post id. Once you have that you can update it in the database itself it will have a _key = post:<post id>.
db.objects.find({_key:"post:<post_id>");
Then something like
db.objects.update({_key:"post:<post_id>"}, {$set:{"content": "testing edit"}});
Let me know if that works.
-
This issue has returned for us big time. We don't know what thread is doing it now but it is happening about once an hour. It is getting really bad all of a sudden - of course coinciding with a major increase of traffic over the last two days. We are getting a little desperate now.
-
@baris said:
Any updates on this?
I am seeing a similar issue on a pretty busy mongo instance, when it happens the nodebb nodejs process hits 100% cpu but the mongo process is idle. Usually it takes a restart to fix it.
that's exactly what we see. We now just hop in and do an immediate "kill -9" on the offending process and restart right away. It is horrible.
-
Oh sure, it happened while I was posting this! That's twice in ten minutes now!
-
I'll wait for @baris reply but since he replied to you a month ago he's done a ton of improvements to the mongodb driver (our biggest client is actually using mongo right now) so hang tight, hopefully we can help. Are you on the latest code at the moment (0.5.1)?
-
No, we are on 0.5.0-4. When should we update?
-
@baris said:
You can update to 0.5.1, when it happens can you send a screen grab of the
top
andmongostat
that might give us more insight.Will do.
-
Update completed. Watching for the issues now.
-
Insanely busy day (topping 1200 hits per hour) and no issues. If this had been yesterday, we would have crashed nearly twenty times! Things are looking much, much better.