We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Memory leak??RSS

24 replies

Last post Aug 25, 2016 03:21 PM by LukaszH

  • Memory leak??

    May 08, 2012 11:13 AM|nastymatt|LINK

    Anyone else noticed their web farm controller server memory creeping up if left alone?

    I have two web farms, both the same set up i.e. one control server, 32 servers in farms of 4. inetmgr.exe sits about about 11mb when started. If I leave the farms alone after about 2 weeks the memory used by the process has crept up to around 2.5gb. The server has 4gb. The only way i can find to reduced the size is to stop the process and restart.

    Any one seen this or know of a solution?

    IIS 7.5 running in Windows 2008 r2. wff 2.2.

    Web Farm Framework Web Farm Framework 2.1 windows server 2008 r2 WFF 2.2 memory leak

  • Re: Memory leak??

    May 17, 2012 10:22 AM|nastymatt|LINK

     No one? Not even Microsoft? This is a pretty big flaw in WFF to go unnoticed.

  • Re: Memory leak??

    Jul 20, 2012 02:42 AM|LukaszH|LINK

    I have the same issue. Some performance testing during one night and 8 GBs went out. Caching disabled on all farms. Only restart the Web Farm Controller Service is helping for a short time.
  • Re: Memory leak??

    Jul 25, 2012 02:28 PM|talldaniel|LINK

    Yes, I noticed this.  It appears to be caused by people leaving their IIS GUI open, when not in use.  Over time it accumulates memory leak until it finally crashes the server.

    Solution.  Always close the GUI when done.

  • Re: Memory leak??

    Aug 07, 2012 03:19 AM|LukaszH|LINK

    I have GUI closed and memory usage is still high after service restart (and after a few days). Co it's something else.
  • Re: Memory leak??

    Nov 19, 2012 10:32 AM|Christar|LINK

    Hi there

    I am experiencing the same problem, no GUI opened. Memory used by WFF just gets more and more until server freezes. This freezing of the controller sometimes leads even to a teardown/offline-taking of the farm... Ugly... IF the crashed controller starts up again, web farm service provisions the servers and opens them on the LB (self written LB plugin similar to the F5 one)

    No solution out there yet?

  • Re: Memory leak??

    Dec 05, 2012 10:45 AM|sam jongenelen|LINK

    I have the same problem.  

    Leaving the MMC console on definately makes the problem worse; haven't looked at the ARR server for a while, but now it runs using about 3,07Gb! My initial memory usage (on fresh start) is about 26Mb

    Not sure how to proceed, anyone tried any hotfixes ? I will test upcoming couple of days if disabling Disk Cache in ARR will help.
    For testing purposes, i will leave the MMC open..! Cool 

    • WFF  with 3 nodes. 
    • Platform provisioning every 10 hours. 
    • Application Provisioning every 1 hours (and sometimes manual by deployscript)
    • 60sec (disk) cache
    • Running webfarm service .exe version 7.1.1341.0 (not sure, i think im running WFF 2.2)
  • Rovastar Rovastar

    5495 Posts

    MVP

    Moderator

    Re: Memory leak??

    Dec 05, 2012 08:38 PM|Rovastar|LINK

    Has anyone raised a support case with Microsoft?

    Troubleshoot IIS in style
    https://www.leansentry.com/
  • Re: Memory leak??

    Mar 11, 2013 01:27 PM|LukaszH|LINK

    Is it problem with WFF or ARR?

    I have a couple of WFF servers and there is no problem with them. I have two ARR servers (one of them is with WFF installed) where the problem with memory leak appears. Nobody logged to server, only normal production work, application and platform provisioning disabled, caching disabled.

    Today I had machine crash because WebFarmService.exe would like to use more than 16 GB of memory (server with 4 GB RAM). Only regular web farm service restart is helping to have it in good conditions...

    Event ID 2004
    Microsoft-Windows-Resource-Exhaustion-Detector"

    <Process_1>
    <Name>WebFarmService.exe</Name>
    <ID>1736</ID>
    <CreationTime>2013-02-18T20:50:27.430128100Z</CreationTime>
    <CommitCharge>16295600128</CommitCharge>
    <HandleCount>875</HandleCount>
    <Version>7.1.1341.0</Version>
    <TypeInfo>1089</TypeInfo>
    </Process_1>

     

    [15.03.2013] Edit:

    I have memory dump of WebFarmService.exe process when it grows to 3,5 GB. How to check whats inside? 

  • Re: Memory leak??

    May 17, 2013 06:51 PM|aleksandert1234|LINK

    Did you manage to solve this memory leak issue?

    Br,
    Aleks

  • Re: Memory leak??

    May 21, 2013 03:37 AM|sam jongenelen|LINK

    Hi Aleks,

    No. However, a workaround is to keep the InetMgr application closed...

    Sam 

  • Re: Memory leak??

    May 28, 2013 05:48 AM|LukaszH|LINK

    Hello,

    For me this workaround is not working. WebFarmFramework is consuming more and more memory even if nobody is logged on server. I've made quick look at my memory dump using DebugDiag tool, and I found that there is problem with native heap which is consuming a lot of memory:

    Heap 5 - 0x00860000

    Reserved memory   2,67 GBytes
    Committed memory   2,67 GBytes (99,70% of reserved)
    Uncommitted memory   8,16 MBytes (0,30% of reserved)
    Number of heap segments   177 segments
    Number of uncommitted ranges   177 range(s)
    Size of largest uncommitted range   0 Bytes
    Calculated heap fragmentation Unavailable
    Segment Information
    Base Address Reserved Size Committed Size Uncommitted Size Number of uncommitted ranges Largest uncommitted block Calculated heap fragmentation
    0x004d0000 1 024,00 KBytes 1 024,00 KBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x00860000 64,00 KBytes 64,00 KBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x1b3b0000 2,00 MBytes 2,00 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x1c890000 4,00 MBytes 4,00 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x1fdd0000 8,00 MBytes 8,00 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x215a0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x22570000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x23540000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x24510000 15,81 MBytes 15,75 MBytes 60,00 KBytes 1 60,00 KBytes -1,00% Unavailable
    0x254e0000 15,81 MBytes 15,77 MBytes 44,00 KBytes 1 44,00 KBytes -1,00% Unavailable
    0x27480000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x28450000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x29420000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x2a3f0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x2c390000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x2d360000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x2e330000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x2f300000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x312a0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x32270000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x33240000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x34210000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x351e0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x37180000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x38150000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x39120000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x3a0f0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x3c090000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x3d060000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x3e030000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x3f000000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x40fa0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x41f70000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x42f40000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x43f10000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x45eb0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x46e80000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x47e50000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x48e20000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x4adc0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x4bd90000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x4cd60000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x4dd30000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x4fcd0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x50ca0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x51c70000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x52c40000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x53c10000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x55bb0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x56b80000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x57b50000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x58b20000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x5aac0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x5ba90000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x5ca60000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x5da30000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x5f9d0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x609a0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x61970000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x62940000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x648e0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x658b0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x66880000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x67850000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x697f0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x6a7c0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x6b790000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x6c760000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x6d730000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x6f6d0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x706a0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x71670000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x72640000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x75810000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x77170000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x78140000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x79110000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x7b0b0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x7c080000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x7d050000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x7fff0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x81f90000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x82f60000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x83f30000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x84f00000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x86ea0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x87e70000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x88e40000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x89e10000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x8bdb0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x8cd80000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x8dd50000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x8ed20000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x8fcf0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x91c90000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x92c60000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x93c30000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x94c00000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x96ba0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x97b70000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x98b40000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x99b10000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x9bab0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x9ca80000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x9da50000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0x9ea20000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa09c0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa1990000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa2960000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa3930000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa58d0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa68a0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa7870000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa8840000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xa9810000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xab7b0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xac780000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xad750000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xaf6f0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb06c0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb1690000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb2660000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb3630000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb55d0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb65a0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb7570000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xb8540000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xba4e0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xbb4b0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xbc480000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xbd450000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xbf3f0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc03c0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc1390000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc2360000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc3330000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc52d0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc62a0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc7270000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xc8240000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xca1e0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xcb1b0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xcc180000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xcd150000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xcf0f0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd00c0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd1090000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd2060000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd4000000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd4fd0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd5fa0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd6f70000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd8f10000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xd9ee0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xdaeb0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xdbe80000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xdce50000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xdedf0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xdfdc0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xe0d90000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xe1d60000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xe3d00000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xe4cd0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xe5ca0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xe7c40000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xe8c10000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xeabb0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xebb80000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xecb50000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xedb20000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xeeaf0000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xf0a90000 15,81 MBytes 15,81 MBytes 0 Bytes 1 0 Bytes 0,00% 0,00
    0xf1a60000 15,81 MBytes 15,75 MBytes 60,00 KBytes 1 60,00 KBytes -1,00% Unavailable
    0xf2a30000 15,81 MBytes 15,75 MBytes 60,00 KBytes 1 60,00 KBytes -1,00% Unavailable
    0xf3a00000 15,81 MBytes 15,75 MBytes 60,00 KBytes 1 60,00 KBytes -1,00% Unavailable
    0xf49d0000 15,81 MBytes 15,75 MBytes 60,00 KBytes 1 60,00 KBytes -1,00% Unavailable
    0xf6970000 15,81 MBytes 12,07 MBytes 3,75 MBytes 1 3,75 MBytes -1,00% Unavailable

    Virtual Memory Summary

    Size of largest free VM block   6,24 TBytes
    Free memory fragmentation   21,94%
    Free Memory   8,00 TBytes   (99,95% of Total Memory)
    Reserved Memory   436,56 MBytes   (0,01% of Total Memory)
    Committed Memory   3,47 GBytes   (0,04% of Total Memory)
    Total Memory   8,00 TBytes
    Largest free block at   0x00000005`16fc6000

    Heap Summary

    Number of heaps   25 Heaps
    Total reserved memory   3,35 GBytes
    Total committed memory   3,33 GBytes

    But what can I do with this informations?

     

  • Re: Memory leak??

    May 30, 2013 08:11 AM|sam jongenelen|LINK

    The better question is:

    Is this fixed in Server 2012 / IIS8 ??!!

  • Re: Memory leak??

    May 30, 2013 07:51 PM|aleksandert1234|LINK

    Hi Lukasz,

    If I understand correctly, you're experiencing this memory leak on primary server where WebFarmService.exe is running, right?

    If that's correct, it would be great if you could create a dump file of WebFarmService.exe process when high memory usage is noticed. We're about to use Web Farm Framework on production servers in the near future and I really don't like what I'm seeing in your post... :-/

    Will you be able to publish compressed dump file somewhere? If not, I can set up a temporary ftp site or something similar...

    I appreciate your help,
    Aleks

  • Re: Memory leak??

    May 30, 2013 07:58 PM|talldaniel|LINK

    Alek,

    You might want to reconsider using WFF until MS announces if they are going to upgrade WFF to support IIS 8.0

    As far as I know, MsDeploy 3.0 will break WFF, and thus, you cannot use it with IIS8 or with Windows 2012. 

    I have not validated this to be true by experiment, but I did get it from a reliable source.

    Daniel

  • Re: Memory leak??

    May 30, 2013 08:40 PM|aleksandert1234|LINK

    Daniel,

    I believe you can upgrade to MsDeploy 3.0 after WFF is installed, but I didn't confirm it yet.... will let you know in a day or two.

    Regarding WFF and IIS 8.0... I heard some rumors that WFF should support IIS 8.0 in the future. I was told IIS team is totally focused on IIS 8.0 nowadays, but later thay should work on WFF too... Who knows? We'll see :)

    Thanks,
    Aleks

  • Re: Memory leak??

    May 30, 2013 08:52 PM|talldaniel|LINK

    The credible source that told me MSDeploy 3.0 is not compatible with WFF, was a supoort engineer from the MS WFF support team that we used when we filed a support ticket (for another issue) with MS about nine months ago.  But I hope you are right. 

  • Re: Memory leak??

    May 30, 2013 09:02 PM|aleksandert1234|LINK

    I hope you're not right, but I'm affraid you are... :)

    Btw, what would be a decent alternative to WFF? What are you using today?

    Br,
    Aleks

  • Re: Memory leak??

    May 30, 2013 09:19 PM|talldaniel|LINK

    It depends on which features you are referring to.  We only use it for replication.  What are your planning to use it for?  (We arent upgrading to 2012 right away so we have some time.)

     

  • Re: Memory leak??

    May 31, 2013 04:20 AM|LukaszH|LINK

    Hi,

    Memory leak is on controller server, primary server and all secondaries are working ok.

    My configuration in this deployment:

    • WFF1 and WFF2 have ARR and WFF installed. 
    • Only WFF2 has application and platform provisioning enabled (WFF1 is backup). Both have ARR enabled.
    • WFF1 and WFF2 are in NLB cluster (because I'm using ARR to route traffic).

    Memory leak appear on both servers. I'm restarting Web Farm Service every second night.

     

    I have two other deployments, one much bigger, and one for testing purposes. But there I'm not mixing ARR with WFF and it's working fine (on separate servers, two for ARR and one for WFF). Everywhere WFF and ARR configurations are the same.

     

  • Re: Memory leak??

    May 31, 2013 09:24 AM|sam jongenelen|LINK

    We are using WFF and ARR in multiple enviroments, with similar setups, and i can say that:

    memory leak appears to increase:

    • in time (duh)
    • by usage of the ARR / controller server
    • when IISmgr.exe is open (unconfirmed, but seems to be true) 

    This leads me to believe that the problem must be related to:

    • Routing to web farm URL Rewrite v2 rule engine
      • however, i've made setups with URL Rewrite withouth this problem
    • Application Provisioning and it's logging
    • Framework Provisioning and it's logging
    • Web deploy module, accesed by Application or Framework Provisioning
    • ARR itself.
    • Web deploy module accessed by the WFF.exe

    As a test i disabled automatic Application Provisioning entirely and started using a batch-based Web Deploy script (which manually tells the controller server to provision the applications of the nodes. We deploy manually every 2 weeks (or less) and the memory leak still persists. 

    Does anyone have other research results and willing to share? Also, what alternatives are there? We are hosting .NET 4 applications, and the setup seamed like a great idea (and working) but I really don't like rolling restarts on production servers...

    iis7

  • Re: Memory leak??

    May 10, 2014 08:13 AM|Zoltan Lehoczky|LINK

    I also experience increasing memory consumption by the w3wp.exe process used by ARR.

    Some technical backround: Win Server 2012 R2 Datacenter (Azure Cloud Service), latest ARR and URL Rewrite installed.

    What I found causes memory to increase is if a request that is proxied through ARR returns a 404. Strange as it seems a 404 response causes a cca. 1MB permanent increase in the memory consumption of the process.

    Also worth to share is that the same web app that contains the rewrite rules employing ARR also hosts a web API endpoint (used for managing the cache). I only experienced the memory leak to happen after adding this API, what in turn needed the addition of a Global.asax file. However my code is doing nothing on a 404 so I have a hard time getting a grasp on why these two are related, but the fact still is that before adding the API the process used a couple ten MBs of memory and now it uses increasingly more by time.

    So this is a bit different than what other here see, but I guess there should be something in common that we don't see yet.

    iis7

  • Re: Memory leak??

    May 10, 2014 04:25 PM|sam jongenelen|LINK

    Well, perhaps it is not your application that gives 404, but the Webfarm client/server agent communications (do you have Web Farm Framework running?)

    Otherwise, I honestly have no idea too..

    iis7

  • Re: Memory leak??

    Aug 25, 2016 02:39 PM|o0scap|LINK

    The better question is:

    Is this fixed in Server 2012 / IIS8 ??!!

  • Re: Memory leak??

    Aug 25, 2016 03:21 PM|LukaszH|LINK

    WFF is not supported on Windows 2012.