Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I am runin apache webserver and i was wondering why it uses multiple instances of /usr/bin/apache. My output from "ps ax": 237 ? S 0:00 /usr/sbin/apache 248 ? S ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2003
    Posts
    2

    multiple instances running


    Hello,

    I am runin apache webserver and i was wondering why it uses multiple instances of /usr/bin/apache. My output from "ps ax":

    237 ? S 0:00 /usr/sbin/apache
    248 ? S 0:00 /usr/sbin/apache
    249 ? S 0:00 /usr/sbin/apache
    250 ? S 0:00 /usr/sbin/apache
    251 ? S 0:00 /usr/sbin/apache
    252 ? S 0:00 /usr/sbin/apache

    Just wondering if that is nesecary

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Yeah, it's supposed to work that way. It keeps a server pool for parallelizing tasks. On a low-usage server, you might not actually need that many, but on the other hand, it doesn't hurt. Since most memory is shared among the slave servers, not much more resources is used by each individual one.

  3. #3
    Just Joined!
    Join Date
    Sep 2003
    Posts
    2
    On a low-usage server, you might not actually need that many
    How would I go about droping 2-3.

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    You can change the NumServers directive in httpd.conf. But why would you want to?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •