B
Bruno Jouhier [MVP]
We are observing a strange phenomenon on our ASP .NET applications:
If the applications are cold started (after a server reboot or an II
restart), they run for days without any problem.
But if they get restarted while IIS is running (because the web.config file
got modified, or because the DLLs got replaced by new ones), they run ok for
a certain period (a few hours if the load is light, only a few minutes if
the load is heavier) and then the server stops responding to some requests
(seems like it continues to generate stateless pages, but does not generate
any stateful pages any more, but I have to investigate what is really
happening in more details).
We observed this strange behavior on our two ASP .NET applications, and on
different servers. The applications are based on .NET Framework 1.1 and
Visual J#.
This is not critical because we can restart IIS every time we modify the
config file or upgrade the DLLs but I'd like to understand what is going on.
Did anyone else experience a similar problem? Is there a fix?
Also, it would be great if there was a way to prevent ASP NET from
restarting the application every time the config file or the DLLs are
modified. Some programs (anti-virus, backup) change the last access time on
these files and they cause an application restart (accessing the file is all
it takes, the application restarts even if the files are not modified),
which is very annoying (especially if the application stops responding
afterwards, as described above).
This automatic restart feature is nice during development but I don't find
it so nice on a production server because I don't like the idea of having a
Web App restart because some background maintenance task is touching its
files. Does anybody know how to prevent this?
Bruno.
If the applications are cold started (after a server reboot or an II
restart), they run for days without any problem.
But if they get restarted while IIS is running (because the web.config file
got modified, or because the DLLs got replaced by new ones), they run ok for
a certain period (a few hours if the load is light, only a few minutes if
the load is heavier) and then the server stops responding to some requests
(seems like it continues to generate stateless pages, but does not generate
any stateful pages any more, but I have to investigate what is really
happening in more details).
We observed this strange behavior on our two ASP .NET applications, and on
different servers. The applications are based on .NET Framework 1.1 and
Visual J#.
This is not critical because we can restart IIS every time we modify the
config file or upgrade the DLLs but I'd like to understand what is going on.
Did anyone else experience a similar problem? Is there a fix?
Also, it would be great if there was a way to prevent ASP NET from
restarting the application every time the config file or the DLLs are
modified. Some programs (anti-virus, backup) change the last access time on
these files and they cause an application restart (accessing the file is all
it takes, the application restarts even if the files are not modified),
which is very annoying (especially if the application stops responding
afterwards, as described above).
This automatic restart feature is nice during development but I don't find
it so nice on a production server because I don't like the idea of having a
Web App restart because some background maintenance task is touching its
files. Does anybody know how to prevent this?
Bruno.