Solved

IIS6 changes not taking effect and service won't restart

Posted on 2011-02-22
8
542 Views
Last Modified: 2012-05-11
We noticed a couple of months ago that some simple changes like adding host header lookup entries to sites on our primary IIS6 server were not taking effect. After digging deeper, it turns out that no changes at all in IIS are taking effect. Otherwise the server seems to be performing well. The changes seem to apply in IIS and the metabase okay. I can even back up the metabase and restore it on a different server and the changes are there – it just doesn’t make it out to the running sites.

Additionally, if I try to stop or pause any of the sites, app pools, etc, inside IIS it fails with the “The service did not respond to the start or control request in a timely fashion.” error. I get the same result if I try to stop any of the IIS services through the Services manager or net stop. Ultimately I have to restart the server and the changes take.

The server has less than 15 sites – each in their own App Pool. It has been at pretty much the same load for 2 years when it went up – in fact maybe a little less.  That being said, it seems like it may be load related because if I reboot the box on a Friday night I can usually make changes that will take effect all weekend long when load is very low but Monday under load I’m back to the problem again.

I have also given up to 2 weeks on some changes to see if they would eventualy cycle through, but it never does.

Any thoughts on what might be causing this?
0
Comment
Question by:FirstResearch
  • 4
  • 3
8 Comments
 
LVL 15

Expert Comment

by:pcsmitpra
ID: 34960049
How much memory you have on your system? Also what is the free space on disk size? It seems to be a memory problem with your hardware. You can configure your IIS to restart every night at time when load is negligible, But probably you need to increase RAM.
0
 
LVL 11

Accepted Solution

by:
b_levitt earned 500 total points
ID: 34960433

Can you reset the individual app pools (see iisapp /? if you want to do it from the command line)?  If yes, can you narrow it down to a particular app pool?

If that route fails, my first thought for IIS instability is fileversion mismatch (some files from the RTM cd, some from sp1, some from sp2 etc).  I would reinstall sp2 and see if that helps.  You could also see the following script that loops thru and checks the files:
http://blogs.iis.net/webtopics/archive/2009/12/18/sample-script-to-verify-iis-file-versions-for-kb973917.aspx

0
 

Author Comment

by:FirstResearch
ID: 34960576
Thanks for the responses.

pcsmitpra - Disk space looks good. The C drive is a 20gb partition with over 6gb remaining, but it hasn't been defragged in a while. The other 2 drives are 60gb partitions with over 50gb remaining. RAM is 4gb (32bit) and typically runs at about 1.25. I've never seen it over 2.

Unfortunately once it gets to the point that I am having this issue, which is usually just on day under load, the only option is a full system reboot.

b_levitt - I cannot restart any of the app pools individually once it starts. Not even a separate test site app pool that only I use. Whatever is happening effects everything in IIS.

Reinstalling SP2 seems like a good start. I will check the files here shortly and may look at an SP2 reinstall tonight.
0
 

Author Comment

by:FirstResearch
ID: 34962356
I ran the file checking script and it came back clean for SP2 files. No errors or missing files.

Do you think I should still reapply SP2?
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 11

Expert Comment

by:b_levitt
ID: 35009033
I appologize, I didn't see that you had replied.

You could still try sp2.  It might help but who knows.

If it doesn't we need to get a little bit diagnostic.  Unfortunately the error you're posted mostly brings back help when sites won't start which is not your problem so we need some more keywords to go on.

Please try:
Please include the error number for the error you are getting when:
- Stopping a site
- Restarting an app pool
- Doing an IISReset
- Restarting the IIS services individually
 * smtpsvc
 * w3svc
 * iisadmin

List the memory usage for each app-pool

Note if any of the app pools PIDs are changing often (indicating a pool restart).

Try running the IIS management tool from another machine.

See if there are any entries in the event log that might help.

Check your httperr log.
0
 

Author Comment

by:FirstResearch
ID: 35009639
Thanks for the reply. I actually reapplied SP2 and rebooted Saturday morning and so far everything seems normal. IIS is accepting my changes and I can restart services, etc.

Usually when I reboot on a weekend the problems start back up on Monday so this is already the longest it’s gone. I am going to give it a few days to see what happens. If it makes it all week, that will be a positive sign. I will post back by the end of the week either way.
0
 
LVL 11

Expert Comment

by:b_levitt
ID: 35016956
Great to hear and I look forward to your update.
0
 

Author Closing Comment

by:FirstResearch
ID: 35038023
Re-applying SP2 seems to have solved the problem. Thanks.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now