<p>I have a web application that sometimes just hangs over heavy load. To make it come back I have to kill the "dllhost.exe" process. <strong>Does someone know what to do?</strong></p>

<p>This is an Classic ASP (VBScript) app with lots of COM+ objects.</p>

<p>The server has the following configuration:</p>

<ul>
<li>Intel Core 2 Duo 2.2 GHz / 4 GB RAM</li>
<li>Windows Server 2003 Web Edition SP2</li>
<li>IIS 6.0</li>
</ul>

<p>There is some errors in the event log related to the COM objects. But why errors in the COM objects would crash the whole server?</p>

<p>The COM objects are PowerBuilder objects deployed as COM objects.</p>

<p>Is IIS 7.0 (much) more stable than IIS 6.0?</p>

[{'answer_id': 19246, 'author': 'Pascal Paradis', 'author_id': 1291, 'author_profile': 'https://Stackoverflow.com/users/1291', 'pm_score': 1, 'selected': False, 'text': "<p>There is probably some errors in your eventlog under the Application and System categories. Try to find the origin of these errors or post them here we'll see what we can do :)</p>\n\n<p>Edit : \n@Daniel Silveira\nA memory leak is probable. What COM+ object do you use? I had some issues with Excel with an application I support.</p>\n"}, {'answer_id': 19247, 'author': 'FlySwat', 'author_id': 1965, 'author_profile': 'https://Stackoverflow.com/users/1965', 'pm_score': 2, 'selected': False, 'text': '<p>You have a memory leak :)</p>\n\n<p>This blog entry is my bible for IIS troubleshooting:</p>\n\n<p><a href="http://blogs.msdn.com/david.wang/archive/2005/12/31/HOWTO_Basics_of_IIS6_Troubleshooting.aspx" rel="nofollow noreferrer">http://blogs.msdn.com/david.wang/archive/2005/12/31/HOWTO_Basics_of_IIS6_Troubleshooting.aspx</a></p>\n\n<p>If you can\'t audit your code and find where the reference leaks are, an alternative is to recycle the application by restarting IIS every 24 hours or so. You can just setup a commandline script as a server job to do this.</p>\n'}, {'answer_id': 19396, 'author': 'Dan', 'author_id': 1478, 'author_profile': 'https://Stackoverflow.com/users/1478', 'pm_score': 3, 'selected': True, 'text': '<p>Sounds like dodgy COM objects causing the problem .. do you load them into the "Application", if you do then are they threadsafe; or are they used and discarded on each request?</p>\n\n<p>Yes, recycling every few hours would help \'hide\' the problem, but they ought to be debugged and fixed properly ... have you tried divide/conquer to discover which COM object is the problem ... I can imagine this is tricky on a production environment so you need to set up some heavy automated tests to reproduce the problem locally then you can do something about it.</p>\n'}]
['https://Stackoverflow.com/questions/19245', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1100/']