1
We are experiencing a memory leak in a Windows SM 9229 after upgrading from 9182. Downgrading does not fix the issue.
Problem reported by Gabriele Maoret - SERSIS - Yesterday at 5:12 AM
Submitted
We are experiencing a memory leak on a SM 9229 installed in a dedicated Windows 2019 Server operating system after upgrading from 9182(where everything was working fine...).

This server has only 62 users...

After upgrading, the SmarterMail service started to increase the RAM used little by little, until it completely filled the server's RAM (12GB) within 1-2 hours.

Before that, the usage was constant between 3 and 4 GB.

Unfortunately, going back to 9182, strangely, did not solve the problem, so we upgraded again to 9229.

We are now restarting the service every hour to mitigate the issue, but this is a really big problem...


EDIT: I corrected the version I started from because I had mistakenly written 9168, while the correct one is 9182
Gabriele Maoret - Head of SysAdmins and CISO at SERSIS
Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)

4 Replies

Reply to Thread
0
Richard Laliberte Replied
I would be curious to know if the problem persists on a fresh install vs upgrade / downgrade. Are you able to do an export of all the data, then completely un-install and re-install 9229 (or 9168 which ever you prefer)? There have been a few memory leak issues reported by various people on various platforms and builds, so i'm more curious if something in the update process changes the actual accounts causing the memory leak vs SM introducing a memory leak?

We are currently running on 9182 on a dedicated windows 2019 server and haven't noticed any issues. We are holding off on the upgrade because of this specific issue.
0
Gabriele Maoret - SERSIS Replied
Sorry, my mistake... the previous version was 9182 for me too (I've just edited the post to correct). I had no problem with this version either.

@Richard Laliberte : unfortunately I can't do this easily... This is an on-premise production server in a customer's data center.
Since I can't create a new server in the customer's data center, I would have to copy all the data to MY data center and set up a test server there.

But then I would be missing 62 users who can simulate the customer's mail usage...
Gabriele Maoret - Head of SysAdmins and CISO at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)
1
Richard Laliberte Replied
a bummer. That will make it a bit more difficult to track down the actual cause of the leak. Guess we will hold off as well upgrading so we don't run into similar issues... although i thought i read somewhere that someone got a 9230 build and it was working well.

Curious though, 1) is the install itself a long running upgrade, or did you do fresh installs at some point along the line. and 2) are the user accounts also older, maybe going back several years worth of updates? (programmer in me coming out now trying to help SM get all the data they can lol) We are looking at upgrading our windows box at some point from 2019 to 2022 (possible 2025) and i've been on the fence about asking for a fresh install and running an import wizard on SM just in case there is left over junk code (we've all seen it with anything Microsoft related lol) 
1
Gabriele Maoret - SERSIS Replied
In the meantime it seems to have calmed down a bit and now it doesn't happen so often... Who knows!

To be safe, I set up a PowerShell script that checks the RAM used by the "MailService" process, restarting it if it exceeds a certain number of Megabytes...

I run it at regular intervals every 10 minutes, so that if the RAM used exceeds a certain level it restarts, otherwise not (this way I avoid unnecessary restarts...)

It works wonders!
Gabriele Maoret - Head of SysAdmins and CISO at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)

Reply to Thread

Enter the verification text