473,794 Members | 2,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to find out source of dllhost.exe

I've got a Windows 2000 server running with about 50 websites on it, all
running ASP scripts. I've noticed that the servers CPU usage gets up 100%
sometimes, caused by dllhost.exe, which I'm certain is a hanging ASP script
somewhere on the box. Probably an on error resume next line that doesn't go
anywhere when an error is an encountered. Anyways, I'm not sure if there's
a way to isolate the website where its originating, or even the page this
problem is originating from. Is there a way to do this? Any help would be
appreciated, as this problem is slowing down the server for everyone. TIA
for any help/advice.

Rollin
Jul 19 '05 #1
11 14820
"Rollin 4 Eva" <te**@test.co m> wrote in message
news:o_******** ************@gi ganews.com...
I've got a Windows 2000 server running with about 50 websites on it, all
running ASP scripts. I've noticed that the servers CPU usage gets up 100%
sometimes, caused by dllhost.exe, which I'm certain is a hanging ASP script somewhere on the box. Probably an on error resume next line that doesn't go anywhere when an error is an encountered. Anyways, I'm not sure if there's a way to isolate the website where its originating, or even the page this
problem is originating from. Is there a way to do this? Any help would be appreciated, as this problem is slowing down the server for everyone. TIA
for any help/advice.


Go into Component Services MMC. Click the "Status View" button in COM+. It
will show you the PID for each DllHost process.

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2
> Probably an on error resume next line that doesn't go
anywhere when an error is an encountered.
No, that wouldn't cause it... on error resume next doesn't "go anywhere"...
it just ignores the line that causes the error and moves to the next line
(hence the "resume next" part).
Anyways, I'm not sure if there's
a way to isolate the website where its originating, or even the page this
problem is originating from. Is there a way to do this? Any help would be appreciated, as this problem is slowing down the server for everyone. TIA
for any help/advice.


I think you'd have to use trial and error... move all sites into isolated
and you should be able to track it down that way (since each site would have
its own dllhost.exe).

A
Jul 19 '05 #3

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:up******** ******@TK2MSFTN GP09.phx.gbl...
Probably an on error resume next line that doesn't go
anywhere when an error is an encountered.
No, that wouldn't cause it... on error resume next doesn't "go

anywhere"... it just ignores the line that causes the error and moves to the next line
(hence the "resume next" part). well what if the error happens when I try to open up a recordset (which
mostly all the pages that use a dbase connection do)? And what if the next
line is do while not rsTemp.EOF?
Wouldn't that cause an endless loop?
Anyways, I'm not sure if there's
a way to isolate the website where its originating, or even the page this problem is originating from. Is there a way to do this? Any help would be
appreciated, as this problem is slowing down the server for everyone. TIA for any help/advice.


I think you'd have to use trial and error... move all sites into isolated
and you should be able to track it down that way (since each site would

have its own dllhost.exe). Not sure what you mean by isolated. Running IIS on Windows 2000 Server BTW

Thanks.
Rollin

A

Jul 19 '05 #4
In news:z9******** ************@gi ganews.com,
Rollin 4 Eva <te**@test.co m> typed:
: "Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
: news:up******** ******@TK2MSFTN GP09.phx.gbl...
::: Probably an on error resume next line that doesn't go
::: anywhere when an error is an encountered.
::
:: No, that wouldn't cause it... on error resume next doesn't "go
:: anywhere"... it just ignores the line that causes the error and
:: moves to the next line (hence the "resume next" part).
: well what if the error happens when I try to open up a recordset
: (which mostly all the pages that use a dbase connection do)? And
: what if the next line is do while not rsTemp.EOF?
: Wouldn't that cause an endless loop?

Yes, but the On Error Resume Next would not have *any* effect on that. An
endless loop is not incorrect in and of itself, although, in most cases,
highly undesirable.

[snipped..the rest]

Don Verhagen
Jul 19 '05 #5
> well what if the error happens when I try to open up a recordset (which
mostly all the pages that use a dbase connection do)? And what if the next line is do while not rsTemp.EOF?
What if? Did you try it?
Wouldn't that cause an endless loop?


Again, did you try it?
Jul 19 '05 #6
Sounds like you have got the Welchia Worm !!! I had the same problem myself.

If you do a search you will find more than one instance of DLLHOST.EXE.

The culprit resides in WinNT/System32/Wins/Dllhost.exe

You will not be able to delete this, change privaliges or anything.

You will have to go to Sophos (or Norton the choice is yours), and download
a little .exe file to delete the worm.

Then go to Microsoft.com and do a search on IISLockd.exe (this is an IIS
lock down tool)
You need this as the worm uses an RPC on the WEBDAV element in IIS to upload
the worm to your machine.
I hope this helps
Stuart

You can go to Sophos and download a little .exe to clear it.
"Rollin 4 Eva" <te**@test.co m> wrote in message
news:o_******** ************@gi ganews.com...
I've got a Windows 2000 server running with about 50 websites on it, all
running ASP scripts. I've noticed that the servers CPU usage gets up 100%
sometimes, caused by dllhost.exe, which I'm certain is a hanging ASP script somewhere on the box. Probably an on error resume next line that doesn't go anywhere when an error is an encountered. Anyways, I'm not sure if there's a way to isolate the website where its originating, or even the page this
problem is originating from. Is there a way to do this? Any help would be appreciated, as this problem is slowing down the server for everyone. TIA
for any help/advice.

Rollin

Jul 19 '05 #7
Yes I tried it. It causes the server to lock up. The on error resume next
causes an endless loop because the recordset never reaches an .EOF status.
The initial question had nothing to do with the code. I'm aware of what's
causing the problem, just unaware of how to isolate the website which its
coming from.

"Aaron Bertrand [MVP]" <aa***@TRASHasp faq.com> wrote in message
news:#E******** ******@TK2MSFTN GP09.phx.gbl...
well what if the error happens when I try to open up a recordset (which
mostly all the pages that use a dbase connection do)? And what if the

next
line is do while not rsTemp.EOF?


What if? Did you try it?
Wouldn't that cause an endless loop?


Again, did you try it?

Jul 19 '05 #8
> Yes I tried it. It causes the server to lock up. The on error resume
next
causes an endless loop because the recordset never reaches an .EOF status.


Can you show code that reproduces this? You understand that the following
loop will never even be entered if eof is false, right?

do while not rs.eof

Jul 19 '05 #9

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:eI******** ******@TK2MSFTN GP09.phx.gbl...
Yes I tried it. It causes the server to lock up. The on error resume next
causes an endless loop because the recordset never reaches an .EOF

status.
Can you show code that reproduces this? You understand that the following
loop will never even be entered if eof is false, right?

do while not rs.eof


OK try running this code on your server and tell me this doesn't create an
endless loop.
<%@ Language=VBScri pt %>
<% Option Explicit %>
<% Response.Buffer = true %>
<!--#include file="/includes/connection.inc. asp" -->
<%
on error resume next
dim rsTemp

set rsTemp = server.CreateOb ject("ADODB.REC ORDSET")
set rsTemp = conn.execute("s ome sql syntax that does nothing")

do while not rsTemp.EOF
response.Write( "TEST<BR>")
rsTemp.MoveNext
loop

rsTemp.Close
set rsTemp = nothing
conn.close
set conn = nothing
%>

You have to take out the include and set up your own connection of course.
EOF status is never reached because the sql syntax isn't proper.
Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2017
by: Richard Wesley | last post by:
I am using coverage.py to run my unit test suite to check for missing tests. It mostly works, but for some mysterious reason, some of the files can't be found because they are not in the same directory as configure.py and unit_test.py. But only SOME of them. Anyone have any ideas? -- - rmgw
0
1011
by: Larry Morris | last post by:
Something has happened to my project. As I step through the code, a Find Source dialog opens up. For some reason VS can't find the source I'm stepping through. The routine it's calling is within the same project and sometime even in the same file. Has anyone experienced this problem? If so, how did you fix it? Since this is happening on 4 different computers, I'm assuming it's a problem with the solution/project.
2
2089
by: Middletree | last post by:
This is an ASP-built Intranet app, so I have saved off a static version of the page for reference, and it is located at http://www.middletree.net/err.htm and the page to compare it to is http://www.middletree.net/noerr.htm If you go to the first page, in my case using IE 6/WinXP, you'll see that it shows a js error. More important than just the error is that the menu is gone. On the 2nd page, the error doesn't exist. That second page...
3
1366
by: Bruce D | last post by:
I'm new to .NET and I have a error that is coming up but it's not telling me where the error is coming from (no file). Is that because I'm doing something wrong...or is it a type of error that has nothing to do with my code? P.S. I'm debugging someone else's code. Here's what the screen looks like when I load the page: *************************************************** Input String was not in a correct format Exception Details:...
7
1110
by: Jonathan Wilson | last post by:
I can find source code in output.c for all the format specifications except for the workings of %e, %f and %g (and also %E and %G). Where is the source code for these functions? If it is not included, does anyone know why not?
7
5300
by: sandy | last post by:
hello can anbody help me in getting source code for tcp/ip stack in ANSI C or source code for http protocol
1
2499
by: mimenko | last post by:
Hello, I like to play with letters, and I try to find some websites on which I could find source codes of word games, like crossword, scrabble, anagrams, word utilities,... , and other games but exclusively with words. It's very difficult to find such programs. I need some help to tell me where I could find them, or how I can make my searches. Thanks a lot by advance for your answers.
0
3720
by: Paul | last post by:
Greetings: I have been trying to find source code for a Baccarat card game (C++ or Basic, but preferably the former). My reason for this is wanting to experiment with possible Baccarat card counting methodologies, which is a controversial subject but I'd like to try out some ideas. However, I know very little C++ and am having real trouble even just setting up an 8 deck card shoe. Also, I can't find source code for Baccarat anywhere...
2
4001
by: Deniz Dogan | last post by:
Hello. I am writing a program which has to send a signal (SIGUSR2 F.Y.I.) to a certain process, which I only know the name of, i.e. I need the PID for that process. How can I do this in C or C++? Also, I want to know where I can find the source code for the "pgrep" program. Thanks in advance.
2
3637
by: satinderjeetkaur | last post by:
my question is: consider a discrete memoryless source with source probabilities{0.30,0.25,0.20,0.15,0.10}.find the source entropy,H(X)? please try to answer the question within 2-3 days.actually i am preparing for UGC NET(computer science) so i need help to solve my queries
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.