4

The apache docs for mod_status say that turning on extended status can slow down the server. In what way would this happen? Does it use more cpu? Memory? Spawn extra processes?

Thanks!

1
  • 3
    Because it uses so many additional hamsters in the little wheels that inevitably, a few end up running in the opposite direction, thereby slowing the whole thing down. Dec 4, 2010 at 6:14

2 Answers 2

4
+50

Excerpt from Apache Performance Tuning Guidlines

mod_status and ExtendedStatus On If you include mod_status and you also set ExtendedStatus On when building and running Apache, then on every request Apache will perform two calls to gettimeofday(2) (or times(2) depending on your operating system), and (pre-1.3) several extra calls to time(2). This is all done so that the status report contains timing indications. For highest performance, set ExtendedStatus off (which is the default).

2

It needs to compile, store and keep track of extra statistics. I haven't read the code but my gut tells me it uses a bit more memory and considerable more CPU cycles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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