1
SmarterMail BETA upgrade - Service is crashing
Problem reported by Sébastien Riccio - 12/15/2022 at 8:59 AM
Resolved
Hello,

We prepared a clone of our current production rig (5000 domains - 20k accounts - ~12TB of data) in order to attempt an upgrade to the BETA.

Before bringing the clone online we changed IP addresses config, hostname, etc. and also disabled the POP/IMAP fetch services (we wouldn't like our testing clone to collect external user data from their external accounts).

Everything was running good with the current stable version on the clone.

We ran the beta installation and after the install was finished the service is (re)started.

For about 20-25 minutes I spied the smartermail.exe process disk activity (through resmon) and it seemd to read/write a lot of json files (domains/users settings), I suppose these files need to be updated.

But we have no view on what is going on (I tried to find some logs about an update process but the only log I found was the 2022.12.15-StartAndStop.log which contains not that much infos:

[16:32:30.316] [7596] MailService process id(s): 7596
[16:32:30.316] [7596] OnStart: Called
[16:32:30.316] [7596] OnStart: Failover not enabled.
[16:32:30.316] [7596] OnStart: Starting ServiceLifetimeFunction thread...
[16:32:30.316] [7596] OnStart: ServiceLifetimeFunction thread started successfully.
[16:32:30.316] [7596] OnStart: Completed
[16:32:30.316] [7596] ServiceLifetimeFunction: Called
[16:32:30.316] [7596] ServiceLifetimeStart: Called
[16:32:30.378] [7596] ServiceLifetimeStart: Completed
[16:32:30.378] [7596] ServiceLifetimeFunction: Entering service wait loop
After these 25 minutes of disk activity, the SmarterMail.exe process crashes.

image 
I started again the service and the result was the same (but a bit faster, thanks to disk cache I guess...)

Any idea what could be wrong ?

PS: Os is Windows 2019 with latest updates

Kind regards.

Sébastien Riccio
System & Network Admin

2 Replies

Reply to Thread
1
Andrea Free Replied
Employee Post
Hi Sébastien,

Thank you for participating in the BETA! I'm sorry you're having a rocky start with the startup. From what I understand, the SmarterMail service processes for a bit and then crashes each time you start it up. For diagnosing this issue, a Proc Dump would be best. We've reached out in a support ticket to help you gather this information. We'll post updates here as that support ticket progresses. 

Kind regards,

Andrea Free
SmarterTools Inc.
877-357-6278

www.smartertools.com

1
Andrea Free Replied
Employee Post Marked As Resolution
This issue was caused by a stackoverflow exception during startup. It has been resolved in Build 8392

Andrea Free
SmarterTools Inc.
877-357-6278

www.smartertools.com

Reply to Thread