https://github.com/NodeBB/NodeBB/issues/9204
me-cooper created this issue in NodeBB/NodeBB closed Upgrading NodeBB causes error on startup #9204Posting to a Specific Thread Completely Locks Up NodeBB
-
@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?
-
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. -
@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.
-
Also after updating you can drop all indexes on the
objects
collection see here for more info. -
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.
-
That's great to hear, we really put a lot of work into 0.5.1 in terms of optimizations. Let us know if the freezing issue happens again.