var fork = require('child_process').fork;
var amountConcurrentServers = process.argv[2] || 2;
var port = initialPortServer();
var servers = [];
var path = __dirname;
var disableAutomaticGarbageOption = '--expose-gc';

for(var i = 0; i < amountConcurrentServers; i++) {
    var portForServer = port + i;
    var serverIdentifier = i;
    console.log('Creating server: ' + serverIdentifier + ' - ' + portForServer + ' - ' + serverIdentifier);
    servers[i] = fork( path +'/server.js', [portForServer, serverIdentifier], {execArgv: [disableAutomaticGarbageOption]});
}

process.on('exit', function() {
    console.log('exit process');
    for(var i = 0; i < amountConcurrentServers; i++) {
        servers[i].kill();
    }
});

function initialPortServer() {
    if(process.argv[3]) {

        return parseInt(process.argv[3]);
    }

    return 3000;
}

@@ -558,16 +558,812 @@
 ion%5D%7D);%0A
+    servers%5Bi%5D.on('exit', function() %7B%0A        console.log('%5Bbenchmark%5D%5Bapp%5D%5B' + i +'%5D%5Bevent%5D EXIT');%0A    %7D);%0A    servers%5Bi%5D.on('close', function() %7B%0A        console.log('%5Bbenchmark%5D%5Bapp%5D%5B' + i +'%5D%5Bevent%5D EXIT');%0A    %7D);%0A    servers%5Bi%5D.on('disconnect', function() %7B%0A        console.log('%5Bbenchmark%5D%5Bapp%5D%5B' + i +'%5D%5Bevent%5D EXIT');%0A    %7D);%0A    servers%5Bi%5D.on('error', function() %7B%0A        console.log('%5Bbenchmark%5D%5Bapp%5D%5B' + i +'%5D%5Bevent%5D EXIT');%0A    %7D);%0A    servers%5Bi%5D.on('uncaughtException', function() %7B%0A        console.log('%5Bbenchmark%5D%5Bapp%5D%5B' + i +'%5D%5Bevent%5D EXIT');%0A    %7D);%0A    servers%5Bi%5D.on('SIGTERM', function() %7B%0A        console.log('%5Bbenchmark%5D%5Bapp%5D%5B' + i +'%5D%5Bevent%5D EXIT');%0A    %7D);%0A    servers%5Bi%5D.on('SIGINT', function() %7B%0A        console.log('%5Bbenchmark%5D%5Bapp%5D%5B' + i +'%5D%5Bevent%5D EXIT');%0A    %7D);%0A
 %7D%0A%0Aproce

Add log for child process