We are in the middle of migrating from Exchange 2007 to 2013 with a single server containing both roles.
We've noticed that after about 12 hours, ActiveSync stops working for some reason. The only workaround at the moment is to recycle the MSExchangeSyncAppPool every time it breaks.
The application log is filled with the following event happening every 10 minutes or so:
Exchange ActiveSync has been loaded. This event is logged when Exchange ActiveSync receives its first sync request. The DLL that's loaded when this occurs is Microsoft.Exchange.AirSync DLL. Process id: [13604]
Is this normal behaviour? It seems as if ActiveSync is restarting constantly? This recurring event stops as soon as ActiveSync is broken. There are no other ActiveSync events in the application log.
With the help of ActiveSyncReport.ps1 I've analysed the IIS logs and for the last day it only finds about 30 people connecting and the one with the highest hits below 400. So it doesn't seem to be a faulty user device hammering the server.
I've tried the Test-ActiveSyncConnectivity command when ActiveSync is broken and this just returns the following details after 5 minutes:
Result : Failure
Error : [System.Net.WebException]: The request was aborted: The request was canceled.
The remote connectivity analyser gives the following error at the last HTTP verification step: The operation has timed out
Just to make sure, i've added 4 extra GB of ram to the server making a total of 14GB as it was running at 90% usage. But at the moment it's only using about 9GB so that doesn't seem to make a difference. Also the IIS worker processes are hardly doing anything.
All together they sometimes use 3% of the 4 virtual CPU cores but mostly they stay at 0%.
Is there anything else I can try?