Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Apr 152010
 

How to tell if Apache 2 is using prefork or worker MPM?

Answer:

If you are running in Red Hat Linux/ Fedora/ CentOS

# httpd -V
....
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
...

If you are running in Debian/ Ubuntu, you can use apache2 -V, which get the same output as above.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>