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
restarted instances on non-primary ports don't listen #4870
Comments
…ompiled message. Fix update notification always appearing when an instance restarts even if there was no update. Closes NodeBB#4870
And by "hangs for us," means that the |
Is this "the reason" your NodeBB goes down? |
No, but it's the reason it makes noise when it comes back up. |
Well, sort of. I mean...it gets stuck with 100% CPU doing something. There's no pattern to where it seems to get stuck. There are some gzipped tarballs here with linux perf tools stack traces and flamegraphs: https://what.thedailywtf.com/topic/19990/the-official-server-cooties-tracking-thread Those are a representative sampling of what we've seen when this happens. The process that's "stuck" somewhere is busy doing whatever it's doing and not responding to other requests. So as far as the user is concerned, the site is down (or half down, if you're talking to the unlucky process and it wasn't both processes that were pegging). We just have no idea why it would be getting stuck. |
…:compiled message. Fix update notification always appearing when an instance restarts even if there was no update. <NodeBB/NodeBB#4870> <NodeBB/NodeBB#4871>
What nodejs version and does it still happen when you disable all custom functionality? |
@BenLubar Not only restarts My nodejs version is 4.4.3 |
@xidui in this case, it was waiting for a |
…ompiled message. Fix update notification always appearing when an instance restarts even if there was no update. Closes NodeBB#4870 (NodeBB#4871)
NodeBB version 1.1.0, git hash 8584f9a
Expected: the loader.js process remembers that the preparation of JS and CSS has already been run and immediately tells the secondary instance it can continue.
Actual: the secondary app.js process waits indefinitely until the primary app.js process restarts and runs the preparation.
Expected: restarted instances don't trigger the update notification if the cache buster is the same as it was previously.
Actual: restarting an instance always triggers the update notification, regardless of what the cache buster is.
The text was updated successfully, but these errors were encountered: