mailtrain
mailtrain copied to clipboard
Possible memory leak
We run multiple instances of mailtrain and they all behave the exact same way. Memory grows each day until the host machine has exhausted all ram then campaigns just freeze. Restarting the instance fixes the issue as the memory is cleared and the process begins again. Depending on the volume of mail we send this happens between 2 weeks to 1 month. Here's an image of our memory chart to show the problem. I've not yet been able to track the issue to an individual process (worker, sender, import, etc...) but there's certainly something at play here that needs to be addressed. Has anyone else experienced this?
Thinking this might be related to https://github.com/nodemailer/nodemailer/issues/979 I haven't updated to nodemailer ^6.0.0 yet. Will try and report back
fixed when upgrading nodemailer