For Programmers: Free Programming Magazines  


Home > Archive > ASP > January 2007 > what kind of code problem will cause dllhost.exe taking 100% cpu









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author what kind of code problem will cause dllhost.exe taking 100% cpu
c676228

2007-01-23, 6:57 pm

Hi everyone,
Did you ever experience dllhost.exe taking 100% cpu and cause the server not
responding?
The thing I can think of is infinite loop in code cause deadlock which I
tested on my computer. If this issue occurs occurs quite often on a
production server, what will you do to find out the problem?
--
Betty
Anthony Jones

2007-01-23, 6:57 pm


"c676228" <bettys@community.nospam> wrote in message
news:9BBD8940-9B98-42A1-9D98-4886F75C2D1C@microsoft.com...
> Hi everyone,
> Did you ever experience dllhost.exe taking 100% cpu and cause the server

not
> responding?


An infinite loop in an ASP page can be the culprit.

To determine if ASP may be involved take a note of the PID of the
dllhost.exe processs. Then use the Component Services
MMC to look at the running COM+ applications. With the COM+ applications
node selected choose Status view. If it's one of the IIS apps then it's
likely an ASP problem.

IISState is a tool you can use to create a Dump of IIS activity. This will
list all the threads and if currently processing an ASP page which page it
is processing. A thread that has an inordinate amount of CPU and is
currently processing an ASP page is the likely culprit.


OR

you can review your recent code changes to see where a infinite loop has
been introduced ;)





Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com