-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
benchmark: readStart only after completion #12258
Conversation
@indutny might be related to #6404 |
@refack It is strange:
Windows 7 x64. |
failure was because the #12261 issue/fix |
which node version? |
@refack I have flaky results with almost all versions: 4.8.2: OK / hung after all tests When it hangs, there are 2 node processes. When I type Ctrl+c, one process is aborted. second remains and I can't even kill it via process manager (Access Denied). I've run recently almost all Node benchmarks and had no such problem with any. Can anybody reproduce? |
Windows 7 SP1 x64? |
Yep. |
@vsemozhetbyt try this trick: rename the |
@refack Yes, I've already have a set of renamed Nodes and do usualy use procmon) 1: Total Commander with nodes. |
@vsemozhetbyt ups for the setup 🙆 I can't repro... |
"MpsSvc, WSearch, WinDefend" — not found / disabled) Well, I think we can ignore this my issue as too flaky. Thank you again for fixing! |
Maybe a good restart... |
e5c731b
to
f9ae053
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixes nodejs#11972 PR-URL: nodejs#12258 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
@refack Please, don't forget about commit message guidelines :) |
This command may support you when you want to check the commit message :) |
I'll need to find a way to hook it into git for myself, in just the right conditions. |
Landed fbe946b on v6.x, LMK if this is incorrect. |
🤔 it's a bug fix in |
@refack do you by chance know what is going on here? Here's a screenshot of the time-ordered flamegraph as rendered by speedscope: It caused a in-production server to peg past 100% CPU utilization & drop 17K concurrent websocket connections (I presume from timeout). It regularly seems to occur at ~17.4K+ concurrency, not randomly, in low memory with otherwise ~27% CPU usage. Thanks, just looking for pointers or if anybody has seen something similar. |
fix #11972
On windows apparently it's meaningful to call
readStart
only after connection completion.(makes sense on POSIX as well, and causes no regressions)
Checklist
Affected core subsystem(s)
benchmarks