locked
WSUS High CPU usage RRS feed

  • Question

  • I'm running WSUS on server 2012 with the WID database. It is linked to SCCM 1606, hosted on a different server. There's a downstream server, configured as a replica that serves internet sccm clients. It can serve up to 6000 clients.

    IIS stopped the WsusPool after recycling it too many times. I increased the private memory limit from the 1.8GB default to 4GB. But still, the worker process consumes memory and CPU like crazy (CPU is at 100% almost all the time, with 90% going to w3wp.exe). I can throw more memory at it, but I doubt it will fix the underlying problem.

    In %ProgramFiles%\Update Services\LogFiles\SoftwareDistribution.log, I get many entries like this:

    2016-08-26 12:34:15.223 UTC	Warning	w3wp.14	UnencryptedCookieData.Deserialize	Argument exceptioninvalid header
    Nom du param..tre..: bytes
    2016-08-26 12:34:15.223 UTC	Warning	w3wp.14	EncryptionHelper.DecryptData	Argument exceptionMicrosoft.UpdateServices.Internal.Authorization.LoggedArgumentException: invalid header
    Nom du param..tre..: bytes
       .. Microsoft.UpdateServices.Internal.Authorization.UnencryptedCookieData.Deserialize(Byte[] bytes)
       .. Microsoft.UpdateServices.Internal.Authorization.EncryptionHelper.DecryptData(Byte[] cookieData)
    Nom du param..tre..: cookieData
    2016-08-26 12:34:15.224 UTC	Warning	w3wp.14	SoapUtilities.CreateException	ThrowException: actor = https://060dp1.vd.cerfs:8531/ClientWebService/client.asmx, ID=8136e9e6-3170-4003-9bc8-4cd0fa39bf85, ErrorCode=InvalidCookie, Message=, Client=?
    

    I also see many of the following lines, but I presume they're from the AppPool recycling or restarting:

    2016-08-26 12:34:20.431 UTC	Warning	w3wp.46	SoapUtilities.CreateException	ThrowException: actor = https://060dp1.vd.cerfs:8531/ClientWebService/client.asmx, ID=591777d0-5daf-498d-845e-f5489ca98dcf, ErrorCode=ServerChanged, Message=Server rolled back since last call to GetCookie, Client=5c2fefec-d448-44b7-85ee-91090530dd29
    2016-08-26 12:34:21.976 UTC	Warning	w3wp.14	SoapUtilities.CreateException	ThrowException: actor = https://060dp1.vd.cerfs:8531/ClientWebService/client.asmx, ID=3e4e072e-bb33-45ae-b8dd-d94df5e92632, ErrorCode=ConfigChanged, Message=, Client=1a6a5b29-f421-4eb4-b53a-40688773af05
    

    I installed KB3159706 a week ago and followed the post-install instructions. I can't tell if the update caused this, I know the console was working fine after the post-install procedure, but most of my clients were off at that time (during school district summer vacations almost everything is unplugged).

    Friday, August 26, 2016 5:02 PM

Answers

All replies

  • Hi blanalex,

    >I increased the private memory limit from the 1.8GB default to 4GB.

    Please check if change the Private Memory limit to "0" (no limit) could work.

    Related post with similar issue for your reference:

    https://social.technet.microsoft.com/Forums/windowsserver/en-US/4b1e70dd-938f-41c4-ba25-518fee7af79c/performance-issues-after-kb3159706?forum=winserverwsus

    Besides, it is suggested to WSUS maintenance, run server cleanup wizard and reindex WSUS database.

    Welcome to feed back the result.

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Monday, August 29, 2016 6:23 AM
  • Hi blanalex,

    Could the above replies be of help? If yes, you may mark useful replies as answer, if not, feel free to feed back.
    Best Regards,
    Anne


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Tuesday, September 6, 2016 1:41 AM
  • Finally, I assigned 24GB to this host and set 20GB as the private memory limit of the AppPool. It solved the performance problem. Now that the back to school season is over I think I could lower the limit. The process seems to stay at 6-9GB of private memory at steady state.

    However, I still get many Invalid Cookie errors. Maybe they were there before, but since I never looked that log before, I can't tell.

    Tuesday, September 6, 2016 6:02 PM