-
Notifications
You must be signed in to change notification settings - Fork 127
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
JSON parsing issue #7
Comments
Yep, that sounds reasonable. What do you think the expected behavior should be? |
As for the You can try with node.js v9.4.0 that should work better. |
From what I'm seeing is that when the traces get very large this error pops up - if it's a node 8 thing I'll close it and try with node 9. |
I'm using the latest
Would it help if I sent you the generated files? |
@gboysko are you using the cluster module? |
I'm using the sticky-cluster module in my application (which uses |
@gboysko Each process will write to the same file which is causing issues. We are working on fixing it in nodejs/node#18480 – However, even when "fixed" it won't be obvious what data from what process you want to be analyzed. Thus the best thing will properly always be to benchmark a single standalone-worker. |
I created an issue to track the cluster issue: https://github.com/nearform/node-clinic-doctor/issues/102 |
Thanks @AndreasMadsen. I can startup my application with a single worker process, but don't know if I could instruct Clinic to only monitor it. Is that possible? I could add calls directly into the child process workflow if the command line tool doesn't have the ability. |
For the moment you need to run the worker without a master process. If the There is unfortunately very little we can do until nodejs/node#18480 is merged – and I'm having a lot of trouble with operating systems that are not easily accessible to me 🙄 |
I see. I'll see what I can do to restructure my application to use a single process. Thanks! |
@AndreasMadsen My application runs in several different clustering options (vertical, horizontal) as well as "none". When "none" is selected, a single process is used. However, in this configuration, I still get a failure. Note that my application still loads the |
That should be fine. /cc @mafintosh You could help solve this issue? |
I see. It crashes as it did before. Would you like me to collect any logs
for you?
…On Thu, Mar 8, 2018 at 6:58 PM, Andreas Madsen ***@***.***> wrote:
Reopened #7 <#7>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAm3MWpX8IhQk5SjcoEyKPTjB6K3u-bjks5tccWXgaJpZM4R2qk1>
.
|
@gboysko I think a good start would be:
That way we can see if you are running other processes. We currently don't fully support that. The good news is that we will be able to support it in the next version of Node.js |
Hey @AndreasMadsen I ran again today and did not encounter a problem. I'm not sure how to explain why it worked, but I did let the server run without any load for several minutes after the stress test was done. I'm able to see the Doctor output now. Thanks! |
Okay, very odd. The |
Hi , guys.
and as result of invoking
PS: neither deleting |
Just tried to run this for the first time and got this on pressing ctrl-c, not sure how to debug it further for ya:
then looking at the folder, it spit out 30+ folders:
might have something to do with happypack running a bunch of subprocesses
The text was updated successfully, but these errors were encountered: