Closed scottinet closed 7 years ago
Oops => https://github.com/kuzzleio/kuzzle/blob/master/lib/api/core/plugins/pluginsManager.js#L226
I'm changing this value and I will update the documentation to add this missing configuration option along with the killTimeout
one.
How to reproduce: launch Kuzzle RC9 and watch how the
kuzzle-plugin-logger
plugin gets restarted after a few seconds because it takes more than 100MB of memory (edit: does not seem to be reproducable everytime, this needs investigations)Fix proposal: raise the PM2's default max-memory-limit to a far higher value, and expose this parameter in Kuzzle configuration files. Or remove this limitation altogether.
Also, we have to investigate the logger plugin to check if it's normal for it to take so much memory space under certain conditions.