Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Dllhost.exe Memory Leak Problem - IIS 5

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  The server failed to load application /lm/w3svc,&..  
Author Message
user1153

External


Since: Nov 28, 2003
Posts: 1



(Msg. 1) Posted: Fri Nov 28, 2003 8:36 am
Post subject: Dllhost.exe Memory Leak Problem - IIS 5
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have seen a lot of discussion on this forum about this problem. We are experiencing this on an Intranet server where memory footprint of one our dllhost.exe processes gradually expands until it either runs out of memory or is unloaded.
Two points that we wish to make in connection with this problem:

1) We found that the use of IISState 3.2 wasn't very useful in debugging this problem for ASP/COM+ applications. As well it pauses the process of interest while ouputting a thread dump. It only gives CPU times, etc. can you infer any memory-based information from the output? (Or are we being dumb:)

2) Has anyone had any experience of the WinHTTP 5.1 component being called from an ASP page causing a memory "creep" problem with a dllhost.exe process? Or with the application object if it is used to carry around HTTP data grabbed from text retrieved from a WinHTTP instance. At the moment I just have a hunch that this is the application fault causing the problem. WinHTTP is used for caching in-page tabbing on a page listing various document links.

Many thanks in advance.

Gavin

 >> Stay informed about: Dllhost.exe Memory Leak Problem - IIS 5 
Back to top
Login to vote
patfilot

External


Since: Aug 24, 2003
Posts: 1478



(Msg. 2) Posted: Fri Nov 28, 2003 12:59 pm
Post subject: Re: Dllhost.exe Memory Leak Problem - IIS 5 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

1) IISState isn't memory aware, so you are absolutely right.

2) I haven't seen that, but then again I don't see everything. I would
recommend starting w/installing the latest MDAC (2.Cool since 2.7 (previous to
SP1) and earlier had a leak. Also, my experience is that memory leaks are
wicked hard to track down. As a general rule I do the following:

1) Install latest bits (Win OS Service Packs, MDAC, script engines
(msdn.microsoft.com/scripting), and XML). Doesn't always help, but that
code is hit a lot and I would hate to spend hours tracking down a problem
already fixed.
2) If you have any custom COM objects, put them in their own COM+ server
package and see if the leak follows them. There will be a perf hit for
this, but except for some specific scenarios, your users won't notice. If
the leak does follow, then you can check w/the author/vendor of the DLL to
see if there is a newer (fixed) version.

If those 2 suggestions don't help, then I would recommend opening a case
w/MS Support.

Pat


"Gavin" <gavin.mclellan RemoveThis @strathclyde.pnn.police.uk> wrote in message
news:F75E05D3-6FD4-46DB-B664-09EABF99F574@microsoft.com...
 > I have seen a lot of discussion on this forum about this problem. We are
experiencing this on an Intranet server where memory footprint of one our
dllhost.exe processes gradually expands until it either runs out of memory
or is unloaded.
 > Two points that we wish to make in connection with this problem:
 >
 > 1) We found that the use of IISState 3.2 wasn't very useful in debugging
this problem for ASP/COM+ applications. As well it pauses the process of
interest while ouputting a thread dump. It only gives CPU times, etc. can
you infer any memory-based information from the output? (Or are we being
dumb:)
 >
 > 2) Has anyone had any experience of the WinHTTP 5.1 component being called
from an ASP page causing a memory "creep" problem with a dllhost.exe
process? Or with the application object if it is used to carry around HTTP
data grabbed from text retrieved from a WinHTTP instance. At the moment I
just have a hunch that this is the application fault causing the problem.
WinHTTP is used for caching in-page tabbing on a page listing various
document links.
 >
 > Many thanks in advance.
 >
 > Gavin
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Dllhost.exe Memory Leak Problem - IIS 5 
Back to top
Login to vote
dev2

External


Since: Oct 14, 2003
Posts: 290



(Msg. 3) Posted: Mon Dec 01, 2003 4:32 pm
Post subject: Re: Dllhost.exe Memory Leak Problem - IIS 5 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Gavin,

If your server is crashing or hanging you might want to
download our ReJuvin8 tool. It's free for the first
15-days. It can keep your site running despite problems.

It's designed to detect problems then restart or reboot.
It can restart ANY programs, services, or processes in
precise order. It doesn't fix bugs but it does give you some
breathing room while you are finding them. ReJuvin8 also
gives you email and telephone alert messages and graphic
status reports.

It can also test, alert, and report on URLs running anywhere
on any server on your net connection. So if you use multiple
servers you can use them to watch each other, too.

ReJuvin8 has both an automatic and a custom mode. In the
auto mode you make all the settings by pointing and
clicking. This will handle most applications.

The custom mode uses heartbeat synch files to get absolute
detection that key processes are working. Tools and
instructions are provided to help you do this. We also offer
customization as a contract service.

Charles


Get ReJuvin8 at: <a style='text-decoration: underline;' href="http://www.rejuvin8.net?ac=ch1" target="_blank">http://www.rejuvin8.net?ac=ch1</a>



"Gavin" <gavin.mclellan.DeleteThis@strathclyde.pnn.police.uk> wrote in message
news:F75E05D3-6FD4-46DB-B664-09EABF99F574@microsoft.com...
 > I have seen a lot of discussion on this forum about this problem. We are
experiencing this on an Intranet server where memory footprint of one our
dllhost.exe processes gradually expands until it either runs out of memory
or is unloaded.
 > Two points that we wish to make in connection with this problem:
 >
 > 1) We found that the use of IISState 3.2 wasn't very useful in debugging
this problem for ASP/COM+ applications. As well it pauses the process of
interest while ouputting a thread dump. It only gives CPU times, etc. can
you infer any memory-based information from the output? (Or are we being
dumb:)
 >
 > 2) Has anyone had any experience of the WinHTTP 5.1 component being called
from an ASP page causing a memory "creep" problem with a dllhost.exe
process? Or with the application object if it is used to carry around HTTP
data grabbed from text retrieved from a WinHTTP instance. At the moment I
just have a hunch that this is the application fault causing the problem.
WinHTTP is used for caching in-page tabbing on a page listing various
document links.
 >
 > Many thanks in advance.
 >
 > Gavin
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Dllhost.exe Memory Leak Problem - IIS 5 
Back to top
Login to vote
anonymous583

External


Since: Dec 03, 2003
Posts: 1



(Msg. 4) Posted: Wed Dec 03, 2003 4:26 am
Post subject: Re: Dllhost.exe Memory Leak Problem - IIS 5 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Fortunately IIS is not hanging or crashing, but it is good to know of a tool that could be used as "anti-freeze" in such circumstances (nice plug:)

It now looks as if WinHTTP is not the problem. So it must be further in. Shame, apart from getting down and dirty with VS debugging, there isn't a tool for pinpointing memory problems in inetinfo.exe and dllhost.exe. Or is there? Anyone know of such a tool?

Thanks.
 >> Stay informed about: Dllhost.exe Memory Leak Problem - IIS 5 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
DLLHOST.exe Memory leak IIS5, tools to trace? - Hi, An instance of DLLHOST.exe running on my W2K server appears to have developed a memory leak, and I can't understand where it is coming from. I've setup all the sites to run in High (Isolation) mode, so each site has its own DLLHOST.exe however COM....

Memory Leak - Recently our IIS servers were rebuilt using better hardware. However, since the rebuilt we have been experiencing a memory leak problem and we have not been able to isolate the process causing it neither we have found major error in the ASP pages. Two...

Horrible memory leak - I've noticed dllhost.exe growing larger and larger. I looked at back posts and the response was a object collection problem in the coding. Well, to test this, I took a one line ".html" file and changed the extension to ".asp" Still...

Memory Leak and caching - Hello: I have an IIS 5.0 server (W2K sp2) server that has been locking up due to a memory leak. I know that IIS caches a lot of data and the TTL on the cache is 24 hours. To troubleshoot this I want to reduce the TTL to 12 hours and see if that help i...

dllhost.exe using too much memory - Recently some of the web applications I have running on our Win2K server have been failing and it seems to be associated with dllhost.exe I just looked at it now and it is hold 500 Megs worth of memory. If I restart the web publishing service then..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]