meetings / gearsloth

Gearman job persistence and delayed execution system
MIT License
2 stars 0 forks source link

"EventEmitter memory leak detected" probably caused by repeated pipes to process.stdout #69

Open jarnoharno opened 10 years ago

jarnoharno commented 10 years ago

The warning (node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit. is probably caused by repeatedly creating pipes to process.stdout in containers.js. These temporary pipes should be unpiped when not needed anymore.

lakka commented 10 years ago

When creating the container with conteiners.js the talkative parameter should be set to false when no logging is required. This will prevent containers.js from attaching pipes to containers.