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

There is a Win 2008 server with a few website, and sometimes an image conversion website consumes huge amounts of RAM. Is it generally safe (though not a good idea) to just kill that w3wp process (IIS Worker Process) in the Windows Task Manager or will it affect other w3wp processes (there is a separate Application Pool for each web)?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

It is possible to configure the App Pool to be restarted based on memory usage. If you edit the advanced settings of the App Pool in the IIS manager then you can configure these values.

share|improve this answer
    
Cool, you are talking about the "Memory Limit (KB)"? Sounds just like what I need (I will read about the difference between "Virtual" and "Private" Limits...). Thanks. BTW, I will choose your's as the accepted answer because of the extra insight and because squillman is above 20k (@squillman: sorry)... –  Olaf Jun 10 '11 at 15:40
    
Thanks. Yes that is the field I'm talking about. I'm not sure what kind of value you'll be looking at, but if you look at the process using Process Explorer from Sysinternals then you can find all of the values in there. –  Matthew Steeples Jun 10 '11 at 19:09
add comment

It is generally safe, yes. A better thing to do would be to stop and restart the application pool that the application is tied to. Either way, if there is another application in the same app pool you will restart that application as well.

share|improve this answer
    
Phew, I didn't think of that. Sure, much better, but also good to know that the other way is, well, generally safe. Thanks! –  Olaf Jun 10 '11 at 15:32
    
Actually, it's best to Recycle when you can, as this avoids a complete outage. Recycling triggers a new process to be started, and gives the old one 90 seconds (default) to shut down. –  TristanK Jun 11 '11 at 12:40
add comment

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.