Bytes In All Heaps > Private Bytes?

The other day I had a friend of mine approach me about a possible bug he had found in the CLR memory perfomance counters. He pointed me to a performance log where his customer had captured a log that showed that the Bytes in All Heaps  exceeded that of Private Bytes. Since he knew that Bytes in All…

1

Event Handlers Gone Wild

Today I ran across an issue that my good buddy Tess hit with one of her customers a while back.The application in question here is an ASP.NET web application that is exhibiting fairly high memory usage after almost a day of usage (approx 400-500 MB). Just as in Tess’s case the number of event handlers was…

4

I’m Back!

Today I am back from a 6 month project working on NGIM (Next Generation Incident Management). It is Microsoft’s next version of its technical support tool used by Commercial Technical Support personal globally to work and track customer issues.  Look for me to start picking up the pace of my blogging again as I get submersed on what is…

0

Update::Deleting ASP.NET 2.0 Application Sub-Directories Shuts Down the AppDomain

I have some additional information regarding my post  the detailed the deleing of application sub-directories and the resulting AppDomain restart. If you delete a subdirectory (containing ASPX pages, etc) using the Windows Explorer, the only file change notification ASP.NET receives from the file system is that the subdirectory was removed. We do not receive any notifications for the files in…

4

ASP.NET 2.0 Fix That Everyone Needs

This entry is much like the one from Aug 2003 where I mentioned important fixes that everyone should install for ASP.Net 1.1. This time however we are talking ASP.NET 2.0. In the last couple of months there has been a rash of problems with CodeDom, specifically one issue has been the Achilles heal for ASP.NET…

4

AppPool Running ASP.NET 2.0 May Crash On Process Exit

Ran into an interesting issue the other day while working with a customer and I thought I would share what we learned.ProblemCustomer’s IIS AppPool running on Windows Server 2003 SP1 with ASP.NET 2.0 RTM installed would crash anytime the AppPool would shutdown.  DebuggingI received a user mode dump file of the crashing process and found the…

0

The Wait Class

Back when I did most of my coding with C++ I really liked the simplicity and compactness of using class constructors and destructors to do simple tasks such as setting a wait or busy cursor. For example, consider the code in Figure 1. It is a compact and simple API that is very easy to…

0

IIS 6 Crashing With Some Asynchronous Handlers

When an ASP.NET application uses Asynchronous Handlers with IIS 6 the worker process (w3wp.exe) may crash or exit. This occurs if the Asynchronous Handler completes the request synchronously without setting IAsync.CompletedSynchronously accordingly. When an HttpApplication processes a client request it uses Execution Steps (IExecutionStep). An array of execution steps is constructed to represent the Http…

1