2
Windows service of SmarterMail ist stopped but process Mailserver.exe ist still running for minutes
Problem reported by Stefan Mössner - 6/8/2024 at 9:34 PM
Known
Hi all,

it's strange when I stop the service "MailService" and Windows says the service is stopped but the process "MailService.exe" is still running for some more minutes. I don't know any other software that shows this behavior! And this didn't happen with earlier versions of SmarterMail. Could this behaviour be stopped, please?

Thank you.

5 Replies

Reply to Thread
1
Brian Bjerring-Jensen Replied
I think its the default behaviour until all mail is delivered/archived in the right places and everything is syncronized.

Wait until it dissappears from task manager and youre good to go on an upgrade.
0
Stefan Mössner Replied
This isn't a normal behaviour. When the process is still running, the Windows service isn't stopped. Yes, the MailService process needs some time to stop as you described but then the Windows service shouldn't be shown as stopped! I don't know any other services with this behaviour. A Microsoft SQL or Exchange Server process also tooks some time to stop when stopping the service but the service doesn't show that it is stopped when the process isn't stopped. And in the past the SmarterMail service didn't show this behaviour.
0
Kyle Kerst Replied
Employee Post
As Brian pointed out this is expected behavior as SmarterMail gracefully disconnects any clients actively using their accounts. We have made improvements to service lifecycle management in our upcoming release (currently in beta) which should handle this much better than the current results however and you should see a quicker shutdown when that new version is available.
Kyle Kerst System/Network Administrator SmarterTools Inc. www.smartertools.com
3
echoDreamz Replied
Stefan, that is not true about SQL Server (and also a few other services that I have worked with). When we shutdown one of our shared SQL Server instances, the "stopping..." activity form shows for about 20 seconds or so, then goes away, indicates it is "stopped", but the process is still running. It takes about 10m for the main SQL server process to close up resources, drop connections, write data out of RAM, syncronize etc.
0
Ron Raley Replied
Services.exe isn't even smart enough to auto-refresh itself to see what is running vs stopped.

Reply to Thread