w3wp

Does a worker process share its output cache within an AppPool?

Summary: I have an ASP.NET MVC website in IIS named 'Website' using an AppPool named 'WebsiteAppPool'. WebsiteAppPool is configured to allow up to 4 Worker Processes, in effect creating a 'Web Garden'. The Website is also configured, via web.config, to enable OutputCaching using CacheProfiles. <caching> <outputCacheSettings> <out...

debugging error -- error attaching to w3wp.exe

Hello everyone, I am using VSTS 2008 + .Net 3.5 + C#. And I developed a custom Forms authentication module for IIS 7.0 and I attach to w3wp.exe to debug this module. During the attach process (I just select Tools -> Attach to Process, no further operation performed on the computer I am debugging -- I just wait for the attach to be compl...

w3wp has handle on download files

I set up iis to handle .exe with "asp.net 2.0"s isapi filter to enable dynamic url replacement. For this I setup the extension in iis and added the following line to web.config. Works fine so far. <add path="*.exe" verb="*" type="System.Web.StaticFileHandler" /> the problem is that form that point w3wp process has several handles on th...

Why can't I attach to the w3wp.exe process when I turn off Just My Code in VS2010?

I'm using VS2010 Beta 2 and I turned on .NET Framework source stepping, so I had to disable 'Just My Code'. But now the w3wp.exe process doesn't show up in the list of processes I can attach to. I've got both show all processes boxes ticked. Is this a bug or am I missing something? ...

Troubleshoot ASP.net possible memory leak

It looks like there is a possible memory leak with one of our web applications. w3wp.exe is taking about 1.5gb of RAM and our web services are returning an error saying that it is out of memory. Is there a way to determine which application is causing the excessive memory or profile the actively running websites to see what the cause of...

W3WP.EXE using 100% CPU - where to start?

An ASP.NET web app running on IIS6 periodically shoots the CPU up to 100%. It's the W3WP that's responsible for nearly all CPU usage during these episodes. The CPU stays pinned at 100% anywhere from a few minutes to over an hour. This is on a staging server and the site is only getting very light traffic from testers at this point. W...

ASP.NET memory problem when changing culture

I have a strange problem with ASP.NET. Several sites on my web server run the exact same application. The application has a page that contains a Tab Container from the Ajax Control Toolkit which in itself contains a Calendar control. If I set my culture in the web.config to be: <globalization culture="en-GB" uiCulture="en-GB" /> Then...

ASP.NET Session State Service in Sql Server but w3wp.exe #private increasing

I have recently moved our ASP.NET session state from InProc to a Sql Server solution. I can see session data being inserted into the Sql Server database. I'm monitoring the w3wp.exe process using the "Private bytes" & "# Bytes in all heaps" performance counters. As I navigate through the website it places data into session, however the ...

[IIS 6] Identify the w3wp System.Diagnostics.Process for a given application pool

Hi, I got few web sites running on my server. I have a "diagnostic" page in an application that shows the amount of memory for the current process (very useful). Now this app is 'linked' to another app, and I want my diagnostic page to be able to display the amot of memory for another w3wp process. To get the amount of memory, I use ...

SharePoint 2007 Central Admin w3wp.exe process consumin 99% CPU

Hi, I have been running an intranet using SharePoint 2007 for over a year and all has been working fine. However, after some time, I realized that the intranet portal was slow. Trying to access the Central Admin over another computer not the SharePoint server also became an issue. So I logged onto the real SharePoint Server and it took ...

Interpreting w3wp.exe thread-infos, does mscorwks.dll!StrongNameErrorInfo+0x7688 has a negative impact

I am trying to interpret the meaning of "mscorwks.dll!StrongNameErrorInfo+0x7688". I guess it means, that the assembly loaded by the mscorworks.dll has no StrongName? If yes, does this have any negative impact for a web application? Is it safe to assume that the thread count of 107 means, that web application needed at a peek a maximum ...

In VS2010, is there a way to know which application pool a given w3wp.exe is serving, to then decide to attach the debugger to?

So I'm debugging some websites (one from trunk, one from branch) running locally, in separate apppools. I have trunk and branch solutions open in two VS instances. I'd like to debug trunk in one, and branch in the other. I'd like to know if there's a way to know which application pool each w3wp.exe is serving, to know which one is whi...

Visual Studio Plug-in that can tell the Application Pool name of w3wp.exe when debugging

Is there any plug-in for Visual Studio that can display the associated Application Pool name for those w3wp processes when debugging them with "Attach to Process..." ? Usually I have to do following steps before debugging: c:> \Windows\system32\inetsrv\appcmd list wps then I get the process id for the Application Pool I want to debug,...

W3WP crashes when initializing a collection

I've created an ASP.NET MVC application that has an initializer attached to the PreApplicationStartMethodAttribute. When initializing, a collection is instantiated that implements an interface I've defined. When I instantiate this collection, w3wp.exe crashes with the following two incomprehensible entries in the event log: Faulting app...

w3wp.exe keeping files locked after processing in webservice

Hi, I have a webservice and I noted that some dlls in the wwwroot folder are kept logged after the webservice is executed. After restart of pc, the problem is solved. Can i have something in my code that releases the dlls? ...

Log memory usage of application pool using perfmon

I am trying to audit memory usage of applications using perfmon. The application pool processes in perfmon by default looks like w3wp.exe #1, w3wp.exe #2... Microsoft has a KB article http://support.microsoft.com/default.aspx?scid=kb;EN-US;281884 which shows how to associate PID's to processes. But PID's change when an application pool i...

.net performance counter - Process(w3wp)\% Processor Time

During performance testing, I found that the values of "Process(w3wp)\% Processor Time" are greater than 100. Some values are 237.1436486 312.5338052 341.2373994 264.4097661 191.6237736 I thought this value represents the CPU usage by w3wp process. I don't understand why the value is greater than 100%. Any insights appreciated. Thanks...

Prevent IIS from reusing worker processes for separate ASP.Net AppDomains

When IIS restarts an ASP.Net (2.0) web application, it can either: Recycle the AppDomain: Unload the AppDomain and load a new AppDomain on the same process (e.g. when HttpRuntime.UnloadAppDomain() is called, when web.config is changed). Recycle the process: unload the AppDomain and load a new one on a new process (e.g. when invoking Re...