I’m supporting a ASP.NET v2.0 app installed on a Windows 2003 SP3 Enterprise on a quad core 8G machine running on .NET 2.0 SP1.
-
before enabling the config, ran “tasklist /m mscorwks.dll”
Image Name PID Modules
w3wp.exe 7888 mscorwks.dll -
add under section in web.config
-
ran IISRESET, rebooted server too
-
ran “tasklist /m mscorsvr.dll”
INFO: No tasks are running which match the specified criteria. -
ran “tasklist /m mscorwks.dll”
Image Name PID Modules
w3wp.exe 6251 mscorwks.dll
It seems like gcServer is not taking effect. Are there any additional settings/ configurations necessary to get it working?
Update: Sorry, just saw that the link below, and thus maybe the whole information, applies to IIS 6.0. I don’t know whether that is applicable to your environment.
I don’t believe you can configure any GC setting on a per AppDomain basis, which is essentially what would happen when you only set it in a web.config file, thus on a per application basis.
You need to set this in the aspnet.config file. The Aspnet.config file is in the same directory as the Aspnet_isapi.dll file (check this for more information).
Edit: To figure out the GC in use, you can use WinDBG/SOS and the eeversion command: