Rick Strahl's Weblog  

Wind, waves, code and everything in between...
.NET • C# • Markdown • WPF • All Things Web
Contact   •   Articles   •   Products   •   Support   •   Advertise
Sponsored by:
Markdown Monster - The Markdown Editor for Windows

Recent Patch hosing ASP Classic COM?


:P
On this page:

Since about a week and a half ago my server is jo-joing up and down frequently apparently due to IIS 6 Application Pool crashes. The problem started (in hindsight) right after installation of the maintenance patches from two weeks ago the week before Win2003 SP2 was released and installed (didn't notice the problem until later actually).

The symptoms are that AppPools crash and crash hard - they just die and hang for a bit before another starts up and takes over. What's wonky about this is that nothing shows up in the Event Log. Yet the Visual Studio debugging service dialog pops up (I had VS installed for some previous server debugging). So I actually stepped into one of these debugging dialogs and looked at the call stack hoping that it's not one of my own components or ISAPI extensions that are the trigger. Thankfully not.

Looking at the call stack it looks like the culprit is classic ASP making a COM call followed by about 100 levels of ntdll internal function calls. There's of course no further indication of what the problem is except that it's crashing deep inside the Windows kernel.

The crashes are frequent - it was about once every 10 minutes or so. I've been trying to see a pattern by cruising my site and seeing if I can make it crash but I haven't had any luck in 'making it happen' on demand.

I have a suspicion it has something to do with a small COM component I run on most of my 'mostly static' ASP pages  of the site. These pages have a counter and logging routine that go through a small efficient ATL COM component. This code has been running on the server going on 10 years now and has never been an issue but that's the only place where my ASP pages call into COM.

Has anybody else noticed failures along these lines or anything similar?

It's been quite troublesome for me because a) it's hammering my monitoring tools with site down messages and b) it's causing havoc with various applications that are expecting to stay alive all the time and are instead firing up new resources everytime the AppPool restarts. It's not cool to find various service interfaces running 50 times because they didn't get shut down properly when the AppPool crashed.

What's worse I really have no idea where to even look. I've started to move around my application pools a bit to try and isolate the problem and right now I seem to have narrowed things down a little better - the crashes now occur only once or twice a day but there are still occasional spurts when the up and down happens 10 times in a row or so. <sigh> I suspect rolling back is going to be a problem since SP 2 was installed after that original patch.

Posted in IIS  

The Voices of Reason


 

# DotNetSlackers: Recent Patch hosing ASP Classic COM?


Donnie Hale
July 17, 2007

# re: Recent Patch hosing ASP Classic COM?

Rick,

I can't speak to the COM issue, but I'm sure last week's patch did hose some .NET stuff. I've experienced the issue reported on various sites (e.g. CNET) where the .NET Optimization Service spins the CPU up to 100% for extended periods of time. In my case, there's nothing new that it would need to ngen, so I have no idea what's kicking that off. For now I've disabled the service, and the problem has gone away.

I agree w/ one of your other recent posts. Can we please get rid of any and all COM stuff left in the world? Quickly? Always have hated it, always will...

Donnie

Peter Bromberg
July 17, 2007

# re: Recent Patch hosing ASP Classic COM?

Ahh, the COM isn't going away anytime soon, unfortunately. There's just too much of irrevocably intertwined into the OS (Vista /Server 2008 being no exceptions). What we *could* do, however, is spend more time testing our patches, and making the special case hotfixes easier for developers to get a hold of...

clone dvd
March 25, 2008

# clone dvd

Recent Posts Drive traffic, make money. Win 180 premium accs! Kenapa terengganu tidak ditawan PAS Step Down la Pak Lah.. Should Pak Lah (Abdullah Badawi) Resign? Mahathir Mengaku Anwar Tidak Bersalah? History lessons Sponsors Categories Anime (8) Computer/

free dvd copy
July 05, 2008

# free dvd copy

I have the same problem as Lauretn. I have a USB data cable but I don\'t have its driver, I checked the instructions and I found that it need a driver (SER9PL. INF) and it can be found in the http:// tech. prolific. com. tw/ So I cheched the link but it does not work proparly and face some error in accesing inside this link, and can not find the file. Please direct me to the right link where I can find this file.

dvd decoders
July 05, 2008

# dvd decoders

As a heavy metal/ hard rock afficionado I was more than a little suspicious of the talent or the bonafides of Lordi, the Finnish heavy metal band that won this year\'s Eurovision song contest. I mean any song contest with the word Euro in it is going to be full of crappy, bland pop music isn\'t it? Well having listend to the song and watched the video I can report that in addition to being coolly retro,it is also a really catchy tune. Or as Tuco would say, it ain\'t tuneless amelodic bullshit. AMEN!

dvd decrypt freeware
July 05, 2008

# dvd decrypt freeware

To download it, head on over to the Windows Live Dev Connect page on Microsoft Connect , go to the download page and download it.

best dvd decrypter
July 06, 2008

# best dvd decrypter

Trackback is a technology used by content publishing software like wordpress, movabletype, blogger etc to acknowledge url added in the commenting of post. The trackback acknowledge is sent using network ping from the originating site to receiving site. Let me demostrate how it works with a diagram shown below.

www.dvdrecordpro.com
July 06, 2008

# www.dvdrecordpro.com

Why am I being called Neko- chan now... ON MY OWN SPACE* sobs* I\'m working on the next page even as we speak. Sorry \'bout the long wait, guys. Massive editing was being done then.

shrink dvd files
July 07, 2008

# shrink dvd files

You may find this error when you try to register WCF service host using HTTP binding in windows vista. I had the same problem and I found the perfect solution here.

best dvd burning
July 07, 2008

# best dvd burning

5 New Versions of the doubleTwist Software. doubleTwist, in its sole discretion, reserves the right to add additional features or functions, or to provide programming fixes, updates and upgrades, to the doubleTwist Software. You acknowledge and agree that doubleTwist has no obligation to make available to You any subsequent versions of the doubleTwist Software, nor any obligation to continue to support prior versions. You also agree that you may have to enter into a renewed version of this Agreement, in...

Free Registry Cleaner
July 16, 2008

# Free Registry Cleaner

Another goal is for the Lynx\'s engine\'s combustion chamber to operate for a total of 120min between overhaul periods but so far only up to 25min hot fire time has been achieved. The bottleneck to achieving 120min is electronics glitch issues.

www.dvdtocdpro.com
July 17, 2008

# www.dvdtocdpro.com

I held the power button for a few seconds to power up and entered into the exact same rebooting situation I had the other day.

i m too dvd ripper
July 17, 2008

# i m too dvd ripper

abroad absence absurd access accusations action administrating advert advertisement advertising agencies agency agent aggression agony air airline alan sugar alarm alcohol allegations allowance ambulance ample amusing annoyance annoyances anonymous apologetic apologise applicant application applications appraisal apprentice around arrogance asap assertiveness assignment assistant asthma asylum attack attitude attractive audit august automated awake award back bag bambi ban basic batteries bbc begging...

West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2024