Solved

IIS 6 Crash alot and how to use automatic restart IIS 6

Posted on 2004-03-30
10
1,635 Views
Last Modified: 2007-12-19
I'm using IIS 6 in Windows 2003 Server and my machine is simply a PII 400, 256MB Ram box. My IIS 6 crashes everyday. How can I fix this problem? The problem is I don't even know the crash is causing by hardware or the bug on my site or a request from the user.
I have installed IISCrash&Hang Tool, it didn't help me much cuz I dont know how to use it.
The performance tool is confusing too. What do I need to look for problems in performance tool folder?

Finally, I want to use automatic recovery or restart IIS 6 option. How can I use it? Someone help? Thanks.
0
Comment
Question by:Discusman
  • 5
  • 3
10 Comments
 

Author Comment

by:Discusman
ID: 10720547
Someone mentioned about ASP could cause IIS to crash. Can this be true? How could that be?
0
 
LVL 7

Expert Comment

by:daniel_c
ID: 10720656
1. Have you enabled ASP extension in IIS 6?
2. If you have, then in the code itself might contain some infinite loops that forced asp worker in IIS 6 to restart
    Try IIS Trace (http://www.iisfaq.com/?View=A364) to monitor your IIS
3.  Finally, if you want to use automatic recovery or restart IIS 6 option, you can use 3rd party tool such as
     A1 Monitor (http://www.a1monitor.com/) to test your page on specific interval. On failure, then run command line,
     such as: iisreset /restart

HTH.

- Daniel


0
 

Author Comment

by:Discusman
ID: 10720758
My server has been crashed 4 times since I installed IISCrash/Hang Agent. In the crash logfile, I found this:
GET /images/feedingtime1.mpg - 709357533 Connection_Abandoned_By_Inetinfo_Crash

Feedingtime1.mpg is a small video clip. Could this be the problem?

All other requests were completed.

I am sure I have enabled ASP extension because my site is written in ASP.

I had running this site on my XP Pro IIS 5.1 several weeks ago, and I never had a single crash then. By then I was using a P4 2.66Ghz 640 MB Ram machine to host the site. No problems at all.

The crash started after I moved the site to my PII 400 with Windows 2003 Server.
0
 
LVL 7

Expert Comment

by:daniel_c
ID: 10727949
Is .mpg already added in IIS 6 known MIME types?

By default IIS 6 only serves files with known MIME types (for security reasons.) To enable those file types and allow access:

1. Go to IIS Management Console
2. Right click on "local computer"
3. Click properties
4. Click the "MIME Types" button
5. Click "New"
6. Type ".mpg" into the MIME Type extension textbox
7. Type " video/mpeg" into the MIME Type extension textbox
8. Keep clicking OK
9. Repeat for any other exentions you was (rss, xml, zip, tar any others that aren't already set)
10. Reset Server

Now, test it again.

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:Discusman
ID: 10728002
Ummm... That .mpg file has been on my website for a very long time now and never had any problems with it. Until I saw that entry in the IISCrashHang Agent log file. Thanks.
0
 
LVL 7

Expert Comment

by:daniel_c
ID: 10729667
I meant in IIS 6 known MIME types, is it already listed?
0
 

Author Comment

by:Discusman
ID: 10737863
Yeah, .mpg extension is already in MIME type. But IIS still crashes, it just crashed again today after been up for 48 hours. I need to figure out other way to resolve this issue. Thanks.
0
 

Author Comment

by:Discusman
ID: 10752147
Alright. I have fixed the problem by running IIS 6 in native mode instead in IIS 5 isolation mode and remove any third-party apps in the ISAPI Filters. IIS has been running smooth since.
0
 
LVL 2

Accepted Solution

by:
Lunchy earned 0 total points
ID: 10787227
Closed, 125 points refunded.
Lunchy
Friendly Neighbourhood Community Support Admin
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 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

16 Experts available now in Live!

Get 1:1 Help Now