Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

There doesn't appear to be a way to get a handle on the workers #17

Open
crempp opened this issue Dec 21, 2013 · 1 comment
Open

There doesn't appear to be a way to get a handle on the workers #17

crempp opened this issue Dec 21, 2013 · 1 comment

Comments

@crempp
Copy link

crempp commented Dec 21, 2013

I am trying to get my hands on the forked workers but I can't seem to find a way. I've looked at the code and it appears that the workers are spawned and forgotten.

Is this correct? If so would it be possible to add handles and a method to access them?

I appologize if I'm missing something obvious, I'm new to node.js processes.

@thomasfr
Copy link

it is not possible to access the worker processes itself as they do not share memory with the master.
What you maybe can do is to start a repl on each worker on a different port and then expose functionality on cluster-master to connect to these. Otherwise you could connect manually to it
cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants