Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS Hangups ALOT

Status
Not open for further replies.

TheBublitz

IS-IT--Management
Apr 11, 2005
86
US
Our IIS server is having major hanging problems. Is seems the DefaultAppPool starts hanging first then the whole web goes down. In IIS admin it appears all sites and services are running but it hangs and no one can get to the site.

So I downloaded Micorsoft IIS debug Tools to figure out where it's having problems at.

Using IIS request viewer I can see that when it hangs requests for web sites keep pilling up.

So im going to try and use Debug Diagnostics tool 1.0 to figure out my problem. The only problem is when I add Urls to my IIS Hang rule and test them, the debug tool 1.0 keeps coming back with status 401 unauthorized. It is supposed to say status "OK". So I'm assuming the services that run the Debug 1.0 tool doesn't have enough access or something since only Domain users can access the site.(I've tried running the debug service with my domain account no dice)

We end up having to reboot about 3 times a day some help would be GREAT!

Post to thread if you need anymore info thanks!


Billy Bublitz
Integrity Windows and Doors
 
I "solved" this by setting the App Pool to recycle if the the Virtual Memory reached 1300 Meg. A sudden flood of segments, not loggable requests, from IIS to the App Pool kicks up the memory and if there is no limit, it freezes.I a;so set the max requests on queue at 200.



- free online Compare/Diff of snippets
 
OK ill try these settings. I would still like to get the debugger working properly so I could figure out what app is causing the hangup.

Billy Bublitz
Integrity Windows and Doors
 
I run only one app and IT is not the problem. Try running PERMON on the server and graph the Requests Per Second for the ASP.Net version that you run. You will see a burst when there is a problem or when the App Pool is recycled automatically on a timed scheduled. I do not know any more than that. Check Event Viewer/System and look for W3SVC. It should show up for "Exceed Virtual Memory" recycle.

- free online Compare/Diff of snippets
 
That helps keep the server up longer but it still hangs eventually. WHat happens is once a request hangs it makes another w3wp.exe file to run the defualt app pool. After a while there is like 5 or more w3wp.exe running. THe page file gets huge. If I baby sit the server and remove the old w3wp.exe still trying to execute the old hangs in the default app pool, it will stays up a bandaid NOT a fix tho...

Billy Bublitz
Integrity Windows and Doors
 
There is another parameter for how long to let a W3SVC "hang" after a shutdown request before you blow it out. I set it to 90 seconds. Realize though that when a recycle occurs, an old transaction is still running, or "hanging", wile the new one starts up. This could be a problem for any files that are being created and othe sharing issues.

- free online Compare/Diff of snippets
 
Changed that setting still having hangups. The hangups still stay there until I remove/end the process running that w3wp.exe process.

Billy Bublitz
Integrity Windows and Doors
 
Billy,

I am having the same issue with IIS. Did you end up fixing the problem?
 
The strange thing is that for the past 3 months IIS only hung once every 3 days ... as of today it has hung 3 to 4 times already. Nothing has changed on the server.
 
John,

"I solved this by setting the App Pool to recycle if the the Virtual Memory reached 1300 Meg. A sudden flood of segments, not loggable requests, from IIS to the App Pool kicks up the memory and if there is no limit, it freezes.I a;so set the max requests on queue at 200."

=> Can you give me specific instructions on how you did this?

"Try running PERMON on the server and graph the Requests Per Second for the ASP.Net version that you run. You will see a burst when there is a problem or when the App Pool is recycled automatically on a timed scheduled. I do not know any more than that. Check Event Viewer/System and look for W3SVC. It should show up for "Exceed Virtual Memory" recycle"

=> How and where can I get PERMON? Event Viewer does not how "Exceed Virtual Memory" ... please help.
 
I have page file set to max 700, I have the queue set for 150. It recycles after 60 minutes and 5000 requests. Basicly I still get hangs in my IIS app pool. After it hangs for a while it creates a new w3wp.exe, if I dont check the server once in a while and clear them out there is a bunch of w3wp.exe running and the page file gets huge.

Billy Bublitz
Integrity Windows and Doors
 
I have page file set to max 700, I have the queue set for 150. It recycles after 60 minutes and 5000 requests"

How do you do this exactly?

"After it hangs for a while it creates a new w3wp.exe, if I dont check the server once in a while and clear them out there is a bunch of w3wp.exe running and the page file gets huge."

How long does it hang for? I am assuming during this period users cannot access your web sites.

Using Task Manager, how do you which w3wp.exe's to kill? If you kill the wrong one, this will be a big problem.

Do you have any solution on how this can fixed? This seems to be a somewhat temporary solution.
 
John,

Under "Start/Settings/Control Panel/Administrative Tools/ Internet Information Services" all I see is the computerName and the list of websites. I cannot find Virtual Memory Limit.
 
Hi we are experiencing a similar problem. I think [ponder] the problem is with IIS as it has similar symptoms to the above. IIS just appears to hang numerous times throughout the day and night. When you check everything appears to be started and working but every now and then the website is unavailable and then in a matter of seconds it is back. I've downloaded and installed iis debug tools but I don't know what I am looking for in the data it can extract. I ran a virus scan which showed up nothing, and there are no error messages in the event viewer. We are running IIS 5 on a windows 2000 server with .Net 1.1. Any help would be appreciated.
 
We are using Sophos anti virus and I can't for the life of me remember the firewall is lucent. Our website had been operating fine up to 2 days ago and as far as we can tell no settings have changed.
 
e-trust anti virus here firewall hardware sonicwall.

under defaultapppool is where you find the settings for the paging file, not uder the site its self. this is if your running apppools for asp.net

Billy Bublitz
Integrity Windows and Doors
 
Billy,

We are using ASP not ASP.net. I cannot find defaultapppool. We are using Norton Antivirus and I am not sure about the firewall.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top