diff --git a/routes/shepherd.js b/routes/shepherd.js index 60c9e15..0c125bc 100644 --- a/routes/shepherd.js +++ b/routes/shepherd.js @@ -1067,7 +1067,9 @@ function herder(flock, data) { console.log('exec' + komododBin + ' ' + data.ac_options.join(' ')); shepherd.writeLog('exec' + komododBin + ' ' + data.ac_options.join(' ')); - exec(komododBin + ' ' + data.ac_options.join(' '), function(error, stdout, stderr) { + exec(komododBin + ' ' + data.ac_options.join(' '), { + maxBuffer: 1024 * 10000 // 10 mb + }, function(error, stdout, stderr) { console.log('stdout: ' + stdout); console.log('stderr: ' + stderr); shepherd.writeLog('stdout: ' + stdout);