-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.
Description
I have simple 8 thread cluster and run
if (cluster.isMaster) {
console.log('node ver: ' + process.versions.node);
console.log('v8 ver: ' + process.versions.v8);
var cpuCount = require('os').cpus().length;
for (var i = 0; i < cpuCount; i += 1)
cluster.fork();
cluster.on('exit', function (worker) {
console.log('Worker ' + worker.id + ' died so restarting');
cluster.fork();
console.log('total workers ' + _.size(cluster.workers));
});
and as soon as I run with node 4.0.0 each thread just exists.
no error or dump, just exists, switching back to io.js works fine..
am I missing something?
Regards,
Sean
Metadata
Metadata
Assignees
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.