W3wp.exe process consumes too many CPU and memory resources on a Lync Server 2013 front-end server

Symptoms
When this issue occurs, the LyncIntFeature application pool or the LyncExtFeature application pool may consume more than the usual amounts of memory and CPU resources on at least one Microsoft Lync Server 2013 front-end server. Users who are homed on the front-end server may experience a delay on various operations, such as joining an online meeting, starting Lync Web App and expanding a distribution list.

Additionally, multiple events (event ID 3, event ID 28, and event ID 5013) are logged in the Application log and the System log on the Lync Server 2013 front-end server. For more information about these events, go to Events Information in the "More Information" section.
Cause
This issue occurs because a high latency occurs when Lync Server 2013 looks up contact pictures from a file share. Therefore, the number of threads in the w3wp.exe process builds up.
Resolution
To resolve this issue, install the following cumulative update:
2987510 September 2014 Cumulative Update 5.0.8308.815 for Lync Server 2013 (Front End Server and Edge Server)


More information

Event ID 3

Log Name: Application
Source: System.ServiceModel 4.0.0.0
Date: Date
Event ID: 3
Task Category: WebHost
Level: Error
Keywords: Classic
User: N/A
Computer: Computer Name
Description:
WebHost failed to process a request.
 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/XXXXXXXX
Exception: System.ServiceModel.ServiceActivationException: The service '/GroupExpansion/service.svc' cannot be activated due to an exception during compilation. The exception message is: Memory gates checking failed because the free memory (84721664 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.. ---> System.InsufficientMemoryException: Memory gates checking failed because the free memory (84721664 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.
at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
Process Name: w3wp
Process ID: 83204

Event ID 28

Log Name: Application
Source: System.ServiceModel 4.0.0.0
Date: Date
Event ID: 28
Task Category: WebHost
Level: Warning
Keywords: Classic
User: N/A
Computer: Computer Name
Description:
In order to prevent event log flooding, no further service activation failures due to InsufficientMemoryExceptions will be logged for the next '01:00:00'.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/XXXXXXXX
Process Name: w3wp
Process ID: 80484

Event ID 5013

Log Name: System
Source: Microsoft-Windows-WAS
Date: Date
Event ID: 5013
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: Computer Name
Description:
A process serving application pool 'LyncExtFeature' failed to respond to a ping. The process id was '2304'.

MM/DD/YY,HH:MM:SS,Warning,address,5010,Microsoft-Windows-WAS,N/A,N/A,"A process serving application pool 'LyncExtFeature' failed to respond to a ping. The process id was '2304'. "


Properties

Article ID: 2995176 - Last Review: 03/10/2016 06:27:00 - Revision: 2.0

Microsoft Lync Server 2013

  • kbqfe kbfix kbsurveynew kbexpertiseinter KB2995176
Feedback