Worker process may allocate a very large amount of memory when you have a complex directory structure on IIS

Se aplica a: Windows Server 2008 R2 DatacenterWindows Server 2008 R2 EnterpriseWindows Server 2008 R2 for Itanium-Based Systems

Summary


The worker process may allocate a very large amount of memory when you have a complex content directory structure on Internet Information Services (IIS).

Symptoms


Consider the following scenario:
  • You install the Web Server role from IIS.
  • You have a content directory whose structure is complex. For example, you have a deep tree that includes many child directories in a parent directory.
  • Users send requests for many unique URLs. For example, users send requests for many virtual directories or applications.
In this scenario, the worker process may suddenly allocate a very large amount of memory.

Cause


IIS caches configuration information by using a virtual directory path. Additionally, a hash table to access the configuration information efficiently is created. If many unique URLs are accessed, and if the size of the hash table becomes insufficient, the hash table is extended. If you also have a complex directory structure, the size of the hash table may be extended greatly.

Workaround


To work around this issue, use one of the following methods:
  • Simplify the content directory structure.
  • Increase the frequency of recycling the worker process.