Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

So I have apache running on my local computer. When I open up local development sites in tabs in my browser, apache threads are started. That's as it should be. However, when I close the tabs, close the browsers, and then run system monitor/system task manager, I get a long list of apache threads that are sleeping, waiting around for god knows what.

How do I get these apache threads to stop hanging around?

shot of sleeping apache threads

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Apache has settings to control how threads are used and how many hang around in memory after they are no longer in use. The main reason to leave unused threads in place is to improve performance. It's all explained nicely in the Apache MPM worker documentation.

The setting you're looking for is MaxSpareThreads.

share|improve this answer
    
Cool, that sounds like the kind of control that I'm looking for, thanks. –  Kzqai Sep 24 '10 at 0:17

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.