2
Smartermail Version 12.2.5269 crashes
Problem reported by Ralf Thietz - 6/12/2014 at 7:17 AM
Resolved
Hello,
 
we have a problem with the latest version 12.2.5269. Now, the mail server crashes more than once a day. Does anyone have the same problem? Windows has 3 GB memory free. EAS reports errors:
 
[2014.06.12]    at System.Text.StringBuilder.ToString()
[2014.06.12]    at System.IO.StringWriter.ToString()
[2014.06.12]    at MailService.Protocols.ActiveSync.Commands.CommandBase.ToXml()
[2014.06.12]    at MailService.Protocols.ActiveSync.VersionSpecific.VersionHandlerBase.ProcessCommand()
[2014.06.12]    at MailService.Protocols.ActiveSync.ActiveSyncProcessor.ProcessCommand(EasCommandRequest request)
[2014.06.12] 15:45:40 [46011237] SYNC KEY MISMATCH: Device=[20140612.132628.13528] Server=[20140612.134540.17491]
[2014.06.12] 15:45:40 [46011237] Cached Sync Found For Collection
[2014.06.12] 15:45:40 [46011237] New sync key already issued issue time - 12.06.2014 13:45:37 this time- 12.06.2014 13:45:37
[2014.06.12] 15:45:40 [46011245] SYNC KEY MISMATCH: Device=[20140611.182229.108] Server=[20140612.134538.17465]
[2014.06.12] 15:45:40 [46011245] Cached Sync Found For Collection
[2014.06.12] 15:45:40 [46011245] SYNC KEY MISMATCH: Device=[20140611.091823.18] Server=[20140612.134538.17466]
[2014.06.12] 15:45:40 [46011245] Cached Sync Found For Collection
[2014.06.12] 15:45:42 [46011247] SYNC KEY MISMATCH: Device=[20140611.182229.108] Server=[20140612.134538.17465]
[2014.06.12] 15:45:42 [46011247] Cached Sync Found For Collection
[2014.06.12] 15:45:42 [46011247] SYNC KEY MISMATCH: Device=[20140611.091823.18] Server=[20140612.134538.17466]
[2014.06.12] 15:45:42 [46011247] Cached Sync Found For Collection
[2014.06.12] 15:45:42 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
[2014.06.12]    at System.Text.StringBuilder.ToString()
[2014.06.12]    at System.IO.StringWriter.ToString()
[2014.06.12]    at MailService.Protocols.ActiveSync.Commands.CommandBase.ToXml()
[2014.06.12]    at MailService.Protocols.ActiveSync.VersionSpecific.VersionHandlerBase.ProcessCommand()
[2014.06.12]    at MailService.Protocols.ActiveSync.ActiveSyncProcessor.ProcessCommand(EasCommandRequest request)
[2014.06.12] 15:45:42 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
 
Windows Log:
 
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie unter http://go.microsoft.com/fwlink/events.asp.
 
EventType clr20r3, P1 mailservice.exe, P2 12.2.5269.21336, P3 53905a16, P4 system, P5 4.0.0.0, P6 5073c71b, P7 1ed4, P8 46, P9 system.outofmemoryexception, P10 NIL.
Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie unter http://go.microsoft.com/fwlink/events.asp.
 
Application: MailService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Stack:
   at System.Net.ContextAwareResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)

Weitere Informationen über die Hilfe- und Supportdienste erhalten Sie unter http://go.microsoft.com/fwlink/events.asp.
 
 
Only a service restart solve the problem.
 
Thanks
Ralf
 

3 Replies

Reply to Thread
0
Cyril P. Replied
We're also having this issue with ActiveSync and the latest version of SmarterMail.
22:30:55 System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at MailService.Protocols.ActiveSync.Commands.CommandBase.ToXml()
at MailService.Protocols.ActiveSync.VersionSpecific.VersionHandlerBase.ProcessCommand()
at MailService.Protocols.ActiveSync.ActiveSyncProcessor.ProcessCommand(EasCommandRequest request)
0
Employee Replied
Employee Post
Hello Ralf,
 
Thanks for the information. I wanted to check back to see if you are observing any further difficulties with ActiveSync. I presume you have upgraded to the current build of SmarterMail 12.5x or 13x to have the corrections to the ActiveSync error messages.
 
Please let us know if you have any other trouble.
 
Thank You.
 
0
Cyril P. Replied
I can confirm we always run the latest version of Smarter Mail. The problem was fixed on our side by upgrading the email server from 2GB to 4GB of memory. It seems that from time to time, with 2GB, the SmarterMail process is trying to use too much of the available memory, apparently during ActiveSync synchronisation of large accounts. I've seen the SmarterMail process using more than 1GB of memory during the synchronisation of a single account. If the spike of goes above the total 2GB that's available, everything crashes as a result.
 
Hope it helps.

Reply to Thread