strongloop / strong-pm

deployer for node applications
http://strong-pm.io
Other
1k stars 71 forks source link

Deploying (more than 10?) apps to a server: MaxListenersExceededWarning #405

Closed notbrain closed 4 years ago

notbrain commented 7 years ago

So I have a hunch that this is because I'm being a bit ridiculous and deploying 13 distinct apps to a 4-vCPU server and it just isn't meant to handle this many apps. Or is it? (They are very low, intermittent load).

Is this a limit I could increase or would it need to be done inside strong-pm code?

(node:1684) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:1684) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
(node:1684) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:1684) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
sam-github commented 7 years ago

Ignore the warning, it doesn't matter.

sam-github commented 7 years ago

https://nodejs.org/api/events.html#events_eventemitter_defaultmaxlisteners for more info. We should probably find the EE in question and up the limit, but don't have time ATM.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding.