dinesh336
7/20/2004 3:36:00 PM
OK. Thank you for clearing this issue.
You say I can modify the IIS 6.0 settings Application Pool. Is it
something that needs to be done programmatically or using IIS Admin?
If possible, can you please point me to any articles that talks about
this.
What is the downside to disable process recycling?
Thanks,
Dinesh
Sunny <sunny@newsgroups.nospam> wrote in message news:<uStlWXdbEHA.4092@TK2MSFTNGP11.phx.gbl>...
> Hi,
>
> IIS can recycle the aspnet process for a different reasons, thats why
> you see that behaviour.
>
> In general, to avoid this, you can disable the process recycling. For
> IIS 5.0, you have to modify the <processModel> section in
> machine.config. For IIS 6.0, by setting the properties on the
> Application Pool in which your web app runs.
>
> Also, make sure that no process is modifying the files in the web app
> folder, or in Windows\Microsoft.NET\Framework\v1.1.4322\CONFIG. Any
> modification in these folders may cause a process restart.
>
> Sunny
>
> In article <727ca83c.0407191247.211e65fe@posting.google.com>, dinesh336
> @hotmail.com says...
> > Hello,
> >
> > I have a Singleton Remoting Object hosted inside IIS. It has a sponsor
> > in a Windows Service that renews the lease. So as long as the Windows
> > Service is running I expect the remoting object to stay within scope.
> >
> > However I find that it is not the case. The Singleton object goes out
> > of scope in a random fashion - sometimes once in a couple of days and
> > sometimes thrice within an hour. Even though it goes out of scope it
> > remains in memory (I know this because of the debug messages). I
> > double checked the code and made sure there are no uncaught
> > exceptions.
> >
> > Is is possible that there is some kind of bug in the way IIS hosts
> > remoting objects? Has anyone else encountered similar behavior?
> >
> > Appreciate any thoughts on this matter,
> >
> > Dinesh
> >