Re: Application popup: dllhost.exe - Application Error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Hongkia (Hongkia_at_discussions.microsoft.com)
Date: 10/21/04


Date: Wed, 20 Oct 2004 23:43:05 -0700

Hi Bernard
Thanks and understood. By the way, questions come to my mind after I gone
through the IIsState in my testing machine.

I find out that if I run C:\iisstate\iisstate.exe -p [dllhost pid] -hc
It seems that the log files only be filled with information if there is any
crashing on IIS. Shall we left the command prompt "ON" after this command was
fired ?

If I run C:\iisstate\iisstate.exe -p [dllhost pid]
The thread log/dump will be created. While the thread is running, seems that
all the websites were unable to access until the thread dump was finished.

Questions:
1. In my situation, sometimes the websites were down unexpectedly and also
dllhost.exe application error, which iisstate command should I run (or run
thread dump first then run "-hc")?

2. Is it recommended to turn the websites from "High" back to "Medium" after
the thread dump was created (since the cpu resources are limited) ?

3. Why we should run iisstate on website running "High" compare to "Medium" ?

Really need your expert tips.
Thanks.

"Bernard" wrote:

> > 1. Since currently all the websites are running medium pool, should I run
> > resetIIS services after changed to high isolation ?
>
> err, the side effects shouldn't be too much. just go to each site and change
> it to
> high and apply. but to be clean, a reset would be nice.
>
>
> > 2. Any difference btw running website in medium or high isolation. Which
> one
> > is the best practices?
>
> medium - only 1 pool, many website can share it. if one of the app crash,
> entire
> pool is gone. hence other sites are affected
>
> high - each app will be hosted in a dedicated dllhost.exe. so you have some
> level
> of isolation here. down site is that this need additional resource usage as
> each
> of the high isolation site will be running in a new instance of dllhost. if
> hardware
> resource wasn't an issue, then set it high.
>
> > 3. All the websites are live and critical, any impacts or differences once
> > set to high isolation? (since now the box using high cpu resouces)
> refer 2.
>
>
> > 4. Should I use iisstate to monitor dllhost.exe in "soft crash" or "hard
> > crash" ?
> since the dllhost.exe is complete 'dead', try -hc
>
>
> > 5. As we know dump file can be created, is it important to capture using
> > iisstate in this case ?
>
> you can specify dump file as well if you like, what we normally do is have
> the thread dump to text file first, if required then move on the physical
> dump
> analysis. anyway you can specify to have dump, if it's needed at least you
> have it handy.
>
> next, after you get the iisstatexxxxx.log, create a new thread with subject
> of 'IISState Log file - Analysis Required', expert here will help you to
> analyze. I'm still learning, so may not be able to help out :)
>
>
> --
> Regards,
> Bernard Cheah
> http://www.tryiis.com/
> http://support.microsoft.com/
> http://www.msmvps.com/bernard/
>
>
>
> "Hongkia" <Hongkia@discussions.microsoft.com> wrote in message
> news:2A7E94D3-14BA-4D00-B61C-3089CBF4E843@microsoft.com...
> > Hi Bernard
> > Thanks for the reply. By the way, I have some questions before I can
> start:
> >
> > 1. Since currently all the websites are running medium pool, should I run
> > resetIIS services after changed to high isolation ?
> >
> > 2. Any difference btw running website in medium or high isolation. Which
> one
> > is the best practices?
> >
> > 3. All the websites are live and critical, any impacts or differences once
> > set to high isolation? (since now the box using high cpu resouces)
> >
> > 4. Should I use iisstate to monitor dllhost.exe in "soft crash" or "hard
> > crash" ?
> >
> > 5. As we know dump file can be created, is it important to capture using
> > iisstate in this case ?
> >
> > Thanks and regards.
> >
> > "Bernard" wrote:
> >
> > > Same reply, set each site to high isolation, and use IISState to debug
> > > http://www.iisfaq.com/Default.aspx?tabid=2513
> > >
> > > --
> > > Regards,
> > > Bernard Cheah
> > > http://www.tryiis.com/
> > > http://support.microsoft.com/
> > > http://www.msmvps.com/bernard/
> > >
> > >
> > >
> > > "Hongkia" <Hongkia@discussions.microsoft.com> wrote in message
> > > news:56B054C6-0EA8-4951-AE59-776A162EB15C@microsoft.com...
> > > > Hi all
> > > >
> > > > I have a IIS Server 5.0 host multiple websites (with setting Medium
> pool).
> > > > They are often having IIS crash especially with windows prompt:
> > > >
> > > > " Application popup: dllhost.exe - Application Error : The instruction
> at
> > > > "0x77f8206b" referenced memory at "0x00000014". The memory could not
> be
> > > > "read".
> > > > Click on OK to terminate the program "
> > > >
> > > > Izzit this error was caused by hardware memory leaking or some other
> IIS
> > > > setting that I need to focus on ?
> > > >
> > > > Pls assist. Tx
> > > > regards
> > >
> > >
> > >
>
>
>



Relevant Pages

  • Re: getting thread dump
    ... console because process started from AT command. ... put thread dump to log. ... Can I do this with jconsole or something else? ... Try the "jstack" command that comes with the JDK. ...
    (comp.lang.java.programmer)
  • getting thread dump
    ... How to get thread dump of java in windows XP? ... console because process started from AT command. ... Can I do this with jconsole or something else? ...
    (comp.lang.java.programmer)
  • Re: thread dump on linux machine
    ... As far as I remember you should use the following command: ... > Does anybody know how to get thread dump (stack trace of all threads) on ... > a linux machine of a java process running in background? ...
    (comp.lang.java.programmer)