Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've got a Windows Server 2003 box with IIS 6 installed. There is only one ASP-powered website running on this server. Approximately every 1-3 hours, IIS stops responding (returns 500 Service unavailable) for no good reason. There is not high server usage, no logged errors, nothing at all.

Restarting the IIS (really only the service) fixes the problem until it happens again.

I don't know what to check anymore. Has anyone of you had similar problems?

share|improve this question
1  
Check the application event log. Check the website log. Check the HTTPERR log. –  mfinni May 11 '11 at 13:35
    
It probably is stopping for a good reason, you just haven't found it yet. –  joeqwerty May 11 '11 at 23:22

1 Answer 1

up vote 1 down vote accepted

It's possible that there is a bug in the app which is crashing the app pool. If you don't see anything useful in the applicaiton event log the try looking in the IIS log file and see what resource the last few requests were for right before the service stops responding. That is, find the entries that have a success response code (200, 301, 304, etc) that are immediately before the entries where the 500 starts.

If you own the code, bring up a test instance and go through some testing of that/those resource/s.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.