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
 
Under IIS are you running any kind of application pools?

Billy Bublitz
Integrity Windows and Doors
 
What do you mean by application pools? Under IIS, we have a list of sites running.
 
OK you must not be then in IIS manager
Under your server we have

+FTP Sites
+Application Pools
+Web Sites
+Web Service Extansions

Billy Bublitz
Integrity Windows and Doors
 
I am right clicking "My Computer" and selecting "Manage"

Under "Services and Applications" -> "Internet Information Service", I see:

+ Web Sites
+ FTP Sites
+ Default SMTP Virtual Server

I do not see "Application Pools
 
JohnYingling,

We are using Windows 2000 Advanced Server and IIS5. I guess this shows that the problem occurs in multiple IIS versions.

Any idea on how to fix this problem with Win 2000 AS and IIS5?
 
First to have to find out if its a IIS problem for a programming problem. I use IIS Diagnostics. I used reqviewer.exe in IIS diag to see the hangs.

Billy Bublitz
Integrity Windows and Doors
 
Billy,

Where do you get IIS Dialnostics and reqviewer.exe?

Have you fixed the problem on your end?
 
Nope still having problems I know its a IIS hang. Ususally a problem with programming. Using reqviewer I see its alsways a problem with 1 app pool.



IIS blogs he will give you a good idea what your problem is and expain in good detail between IIS craches and IIS hangs

Billy Bublitz
Integrity Windows and Doors
 
I understand the difference between a hang and a crash, but we are only having this problem only on one server. The other server has the same platform, software and configuration but IIS on that server does not hang or crash ever. So my question is how can this be a programming issue? I am assuming you are referring to custom, proprietary applications on the server.
 
Yup usually IIS hangs are from custom apps running on your IIS server or some other 3rd party software. Now if IIS sites start shutting down or IIS service stops then its usually an IIS problem.

Billy Bublitz
Integrity Windows and Doors
 
When IIS hangs, I cannot restart or start / stop IIS. The only way around it is to reboot the server.

When IIS hanges, IIS sites get a "connection refused" error. Is this what you are seeing as well?
 
No IIS still runs for us. In the request viewer we get a request that hangs. It stays and the server trys processes it forever. Usually Only that user who made that request has the problem. Some times it sticks on that process then other requests keep pilling up. IIS is still running and showing no errors. When you navigate to a site it just sits there. Most of the time Tho IIS sees the hang and created another w3wp.exe to take new requests. SO i have to go in task manager and end task on the old w3wp.exe that is hung.
IIS also make logs on pretty much all requests so if you know the time and the site a person tried to get you can see the error.

C:\WINDOWS\system32\LogFiles\HTTPERR



Billy Bublitz
Integrity Windows and Doors
 
Get up to IIS 6. All that goes away. Each App Pool can be force stopped and started or recycled separately. NO applications run in the IIS 6 process.
Recycling creates a new process while the old one "drains". Take care though. For a time, the App may be active in both the old and new and sharing priblems could crop up.

- free online Compare/Diff of snippets
 
We have IIS 6. WHen i mean apps I mean our custom apps that run in the default app pool.

***Recycling creates a new process while the old one "drains".***

Yup thats what happens. If we don't recycle tho the hanging requests eventually pile up and take down the server.



Billy Bublitz
Integrity Windows and Doors
 
The thing I don't understand is that we have Windows 2000 AS and IIS on two different servers (all with identical software and custom applications), but we are only getting this problem on one of the servers.
 
I've been experiencing IIS6 "hangs" weekly. Using the IIS Diagnostics, I traced it to one our .NET web services.

I'm using two approaches:

1) Modify the machine.config file to increase threading.
2) Put the bad boy ws into its own app pool and recycle it based on memory.

No hangs for two days now, but when I look in the System Event Log, I see that the app pool is recycling every minute!

However, no users are complaining about slow performance or dropped sessions -- and believe me, they would!

But every minute seems excessive so I'm going to tinker with the physical and virtual memory recycle settings.

Anyone see anything similar? Any advice?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top