Skip to content
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

Node start uncontrolled paralel process #8362

Closed
bojannyc opened this issue Aug 31, 2016 · 2 comments
Closed

Node start uncontrolled paralel process #8362

bojannyc opened this issue Aug 31, 2016 · 2 comments
Labels
question Issues that look for answers.

Comments

@bojannyc
Copy link

  • Version:
  • Platform:
  • Subsystem:

Version 6.5.0
MEAN application
I am processing 3000 rows, there are 10 procedures in router (waterfall). I put console.log (rownumber) to track the processing. Somewhere about 1500th row (it is not always the same row) another process is starting to process rows from the beginning while existing process continues to excute. So I am getting something like:
1476
1477
1478
1479
1 - here new process starts suddenly
1480 - the existing process continues with execution
2
1481
3
...
And so on until second cycle is completed. The issue is not happening if I have like 500 rows to import. It starts after 1500-1600. Thoughts? Any help will be greatly appreciated

@Fishrock123
Copy link
Contributor

This sounds a problem with your application.

We may be able to help you if you can post code that reproduces the problem, ideally without dependencies.

However, your question is much better suited for the "help" repo: https://github.com/nodejs/help

@Fishrock123 Fishrock123 added the question Issues that look for answers. label Aug 31, 2016
@bojannyc
Copy link
Author

Not sure. Look below...I run 31 procedure for each row, and look what happened after row 883...suddenly another thread started from the beginning, and current thread continued with the execution. There is no way I could start that 2nd thread in the application
row----------------------------------883
procedure 1
procedure 2
procedure 3
procedure 4
procedure 5
procedure 6
procedure 7
procedure 8
procedure 9
procedure 10
procedure 11
procedure 12
procedure 13
procedure 14
procedure 15
procedure 16
procedure 17
procedure 18
procedure 19
procedure 20
procedure 21
procedure 22
procedure 23
procedure 24
procedure 25
procedure 26
procedure 27
procedure 28
procedure 29
procedure 30
procedure 31
row----------------------------------884
procedure 1
procedure 2
procedure 3
procedure 4
procedure 5
procedure 6
procedure 7
procedure 8
procedure 9
procedure 10
procedure 11
procedure 12
----------------------------------0
procedure 1
procedure 2
procedure 3
procedure 4
procedure 5
procedure 6
procedure 13
procedure 7
procedure 14
procedure 15
procedure 16
procedure 8
procedure 9
procedure 10
procedure 11
procedure 17
procedure 12
procedure 18
procedure 19
procedure 20
procedure 21
procedure 22
procedure 23
procedure 24
procedure 25
procedure 26
procedure 27
procedure 28
procedure 29
procedure 30
procedure 31
row----------------------------------885
procedure 1
procedure 2
procedure 3
procedure 4
procedure 5
procedure 6
procedure 7
procedure 13
procedure 14
procedure 15
procedure 16
procedure 8
procedure 9
procedure 10
procedure 11
procedure 12
procedure 17
procedure 18
procedure 19
procedure 20
procedure 21
procedure 22
procedure 23
procedure 24
procedure 25
procedure 26
procedure 27
procedure 28
procedure 29
procedure 30
procedure 31
row----------------------------------1
procedure 1
procedure 2
procedure 3
procedure 13
procedure 4
procedure 14
procedure 5
procedure 15
procedure 6
procedure 16
procedure 7
procedure 8
procedure 17
procedure 9
procedure 18
procedure 10
procedure 19
procedure 20
procedure 21
procedure 22
procedure 23
procedure 24
procedure 25
procedure 11
procedure 26
procedure 27
procedure 12
procedure 28
procedure 29
procedure 30
procedure 31
row----------------------------------886

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issues that look for answers.
Projects
None yet
Development

No branches or pull requests

2 participants