473,804 Members | 4,223 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
11 14822
Rollin 4 Eva wrote:
"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:eI******** ******@TK2MSFTN GP09.phx.gbl...
OK try running this code on your server and tell me this doesn't
create an endless loop.
<%@ Language=VBScri pt %>
set rsTemp = conn.execute("s ome sql syntax that does nothing")


I'd like to try this but I have no idea what "some sql syntax that does
nothing" means. If you mean to use a statement that raises an error, well,
you would want to detect that error before attempting to loop through a
recordset wouldn't you? Since you are using On Error Resume Next, then it
seems that it would seem logical to use

If err <> 0 then
'handle the error
else
do until rsTemp.EOF
'etc
loop
end if

wouldn't it?

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 19 '05 #11
Well see that's where my problem is. My problem comes from a page that I
wrote in my inefficient/without error handling code writing days. I'm
pretty good about handling errors nowadays, but I find myself chasing the
ghosts of coding past. And considering that there's at least 50 different
websites on the server, I was hoping that there could be an easier way to
find the cause of the error than to manually go through every asp page on
the server and make sure error handling is handled properly.
"Bob Barrows" <re******@NOyah oo.SPAMcom> wrote in message
news:ek******** *****@TK2MSFTNG P10.phx.gbl...
Rollin 4 Eva wrote:
"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:eI******** ******@TK2MSFTN GP09.phx.gbl...


OK try running this code on your server and tell me this doesn't
create an endless loop.
<%@ Language=VBScri pt %>
set rsTemp = conn.execute("s ome sql syntax that does nothing")


I'd like to try this but I have no idea what "some sql syntax that does
nothing" means. If you mean to use a statement that raises an error, well,
you would want to detect that error before attempting to loop through a
recordset wouldn't you? Since you are using On Error Resume Next, then it
seems that it would seem logical to use

If err <> 0 then
'handle the error
else
do until rsTemp.EOF
'etc
loop
end if

wouldn't it?

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 19 '05 #12

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
2091
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
5301
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
2501
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
3722
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
9706
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
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10077
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...
0
9150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5521
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
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2991
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.