Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS 6.0 Automatic Restart

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Apache and Tomcat confusion  
Author Message
tmeister

External


Since: Jan 28, 2005
Posts: 1



(Msg. 1) Posted: Fri Jan 28, 2005 12:25 pm
Post subject: IIS 6.0 Automatic Restart
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have a hosting company hosting one of my sites. I noticed in the IIS Log
files that there were over 20 restarts that ocurred during the day. There
were 20 times that the log file headers appeared which I think happen after
an IISReset. When I asked the hosting company about this they indicated that
"it was just iis reseting itself as it is designed to do". I wasn't aware
that IIS was supposed to reset itself. I understand that under IIS 6.0 that
the worker process will recyle itself but I did not think it did an IISReset.

I guess my questions are 1) Is the hosting company correct when they say
that IIS resets itself? and 2) when a process is recycled do the headers
show up in the IIS Log files?

Thanks

 >> Stay informed about: IIS 6.0 Automatic Restart 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 3146



(Msg. 2) Posted: Sat Jan 29, 2005 12:51 am
Post subject: Re: IIS 6.0 Automatic Restart [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

If the worker process is recycled, it will write the headers into the log
file.

By default on IIS 6.0, the worker process is configured to stop after
being idle for 20 minutes (i think that is the default value). So if your
website is a low-traffic website, you will see alot of headers being
written into the log file. This can be disabled by your webhost (but they
might not want to do it).

A worker process can recycle for several reasons. If your webhost does not
know how to configure IIS (or want to run as many customers as possible on
one server, and care less about the customer), they are running all their
customers in the same application pool, so when one of the customer's web
application fails, it will bring down all websites and cause a recycle of
the worker process. It can also be your own web application that is faulty
and causing a recycle.

So to answer your questions:
1) Well, IIS does not reset itself, but the worker process may stop or
recycle automatically.
2) Yes, the headers do show up when the worker process is recycled
(started).

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


tmeister wrote:

 > I have a hosting company hosting one of my sites. I noticed in the IIS
Log
 > files that there were over 20 restarts that ocurred during the day.
There
 > were 20 times that the log file headers appeared which I think happen
after
 > an IISReset. When I asked the hosting company about this they indicated
that
 > "it was just iis reseting itself as it is designed to do". I wasn't
aware
 > that IIS was supposed to reset itself. I understand that under IIS 6.0
that
 > the worker process will recyle itself but I did not think it did an
IISReset.
 >
 > I guess my questions are 1) Is the hosting company correct when they say
 > that IIS resets itself? and 2) when a process is recycled do the headers
 > show up in the IIS Log files?
 >
 > Thanks<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS 6.0 Automatic Restart 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 3) Posted: Sat Jan 29, 2005 4:37 am
Post subject: Re: IIS 6.0 Automatic Restart [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Kristofer has explained what is going on.

Basically, every time a worker process opens a log file handle, it will
write the log headers into it. Worker process opens a log handle when it is
starting up. Things that cause worker process to recycle (and hence forced
to start up again to handle a future request) include:
1. Recycling based on health-monitoring metrics, such as idle-timeout,
#-request, time-period, CPU usage, memory usage, etc
2. Some other code in the process crashed
3. Someone stops IIS or runs a tool like IISRESET (which stops/restarts IIS)


So, to answer your question
1. IIS doesn't "reset itself". IIS normally recycles worker processes,
which does not reset IIS. Only if someone explicitly ran IISRESET, stopped
IIS, or crashed IIS (highly unlikely in worker process isolation mode) does
IIS "reset"
2. When w3wp starts up again, to handle a request, AFTER a process recycle,
do you see new log headers.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"tmeister" <tmeister RemoveThis @discussions.microsoft.com> wrote in message
news:10E676CB-1906-4BA8-8CD0-D1491E7740EC@microsoft.com...
I have a hosting company hosting one of my sites. I noticed in the IIS Log
files that there were over 20 restarts that ocurred during the day. There
were 20 times that the log file headers appeared which I think happen after
an IISReset. When I asked the hosting company about this they indicated
that
"it was just iis reseting itself as it is designed to do". I wasn't aware
that IIS was supposed to reset itself. I understand that under IIS 6.0 that
the worker process will recyle itself but I did not think it did an
IISReset.

I guess my questions are 1) Is the hosting company correct when they say
that IIS resets itself? and 2) when a process is recycled do the headers
show up in the IIS Log files?

Thanks
 >> Stay informed about: IIS 6.0 Automatic Restart 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (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 ]