Thursday, August 11, 2005

We're migrating an app to 2.0, and I've come across a rather bizarre behavior.  Basically, after running for a while, the app will begin taking up 100% of one CPU.  Perf counters would indicate that the process is in GC (% Time in GC is very high).

Now, some background.  This is an ASP.net app. We've got very aggresive caching such that the static memory footprint is about 600MB. When things first get going, everyting behaves wonderfully.  Then, at some point, the GC gets hungry or something and starts chewing up cycles.  The heaps never go down.  No allocations are being made.  Nothing tangible seems to be going on.

When requests comes in, they are handled normally, and the GC seems to "get out of the way".  (DB wait time is accompanied by 0% CPU) But after the request is completed, it's back up to 100%.

This app worked fine under 1.1.  And I guess there's an argument that says it still does.  It just doesn't play nice with anything else on the system.  I'm just kind of writing this to get this problem out there in case anyone else is seeing it and is searching for a solution.  I'll probably also ping a few folks at MS to see what they have to say.

[UPDATE] Check out this update.

posted on Thursday, August 11, 2005 10:46:20 AM (Pacific Standard Time, UTC-08:00)  #    Comments [1]
Related posts:
LinqToStdf now on CodePlex
Image Slicer for Deep Zoom in Silverlight 2
Silverlight limitations and Constrained Callvirt in IL
What are the generic Delegates in the framework for?
What is System.__Canon and why is it on my stack?
Adding support for .ashx-based views in ASP.net MVC
Tracked by:
"Update on my crazy garbage collection issue" (marklio) [Trackback]
http://www.marklio.com/marklio/PermaLink,guid,ccae93c7-cb00-4697-acce-6444579c11... [Pingback]
"random house publishers" (random house publishers) [Trackback]
"candida albicans die off symptoms" (candida albicans die off symptoms) [Trackback]
"braless in a tight shirt" (braless in a tight shirt) [Trackback]
"rock identification" (rock identification) [Trackback]
"Publishers Wanting Unsolicited Manuscripts" (Publishers Wanting Unsolicited Man... [Trackback]
"NY Jets" (NY Jets) [Trackback]
"olap report" (olap report) [Trackback]
"laredo community college distance learning" (laredo community college distance ... [Trackback]
"dhea overactive thyroid" (dhea overactive thyroid) [Trackback]
"california phantom planet" (california phantom planet) [Trackback]
"dorm twink" (dorm twink) [Trackback]
"Problems with Pontiac Bonneville" (Problems with Pontiac Bonneville) [Trackback]
"iron based adsorbents" (iron based adsorbents) [Trackback]
"bead jewelry" (bead jewelry) [Trackback]
"acrylic nail removal" (acrylic nail removal) [Trackback]
"Florida boating accident attorney" (Florida boating accident attorney) [Trackback]
"Rio de Janiero" (Rio de Janiero) [Trackback]
"antifurto auto" (antifurto auto) [Trackback]
"Ulysses S Grant" (Ulysses S Grant) [Trackback]
"bipolar disease" (bipolar disease) [Trackback]
"WICKED WITCHES OF LEGEND AND LORE" (WICKED WITCHES OF LEGEND AND LORE) [Trackback]
"Men%27s Pocket Watches" (Men%27s Pocket Watches) [Trackback]
"cumaru engineered hardwood" (cumaru engineered hardwood) [Trackback]
"phendimetrazine 105mg free shipping" (phendimetrazine 105mg free shipping) [Trackback]
"j2ee servlet" (j2ee servlet) [Trackback]
"linux format" (linux format) [Trackback]
"amy grant mp3" (amy grant mp3) [Trackback]
"slutty latin whores" (slutty latin whores) [Trackback]
"elephant list xxx" (elephant list xxx) [Trackback]
"Louisiana Lotronex attorneys" (Louisiana Lotronex attorneys) [Trackback]