After upgrade log4js to 6.4.2, I noticed the memory leak happened. My app have multi process that served by pm2, and each process share the same log file. when the log rolling zip on the hour, one of processes(or part of them) will lost the write ability, and the data just stay in the memory which made it grow up until reach the memory limitation.
My node version: 14.16.0
After upgrade log4js to 6.4.2, I noticed the memory leak happened. My app have multi process that served by pm2, and each process share the same log file. when the log rolling zip on the hour, one of processes(or part of them) will lost the write ability, and the data just stay in the memory which made it grow up until reach the memory limitation.
My node version: 14.16.0