WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Apache spawns 6 processes. Is this right? [SOLVED]  (Read 2473 times)

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Apache spawns 6 processes. Is this right? [SOLVED]
« on: April 28, 2009, 02:49:00 PM »
When I run 'sudo apachectl -k start' it spawns 1 root process and 5 tc processes.  Is this right?  Why so many processes?
« Last Edit: April 28, 2009, 11:54:55 PM by Shagbag »

Offline softwaregurl

  • Suspended
  • Full Member
  • ***
  • Posts: 109
Re: Apache spawns 6 processes. Is this right?
« Reply #1 on: April 28, 2009, 08:43:04 PM »
That's what I get and because it's a bloated web server  ::) actually it runs as root then switches to the user and run multiple children? to handle server load.  the config file sets minimum and maximum. 

If you grab apache2-docs.tce it explains how to configure apache.  I pretty much stayed with the default.
Old wounds that have never healed need to be re-exposed before the cure can be applied.  The cure must be available before the wound is re-exposed.

Offline PingPing

  • Jr. Member
  • **
  • Posts: 99
Re: Apache spawns 6 processes. Is this right?
« Reply #2 on: April 28, 2009, 11:54:39 PM »
I see from the apache2-docs that I need to specify

MinSpareServers number
MaxSpareServers number

In my /usr/local/conf/httpd.conf file.
Thanks for your help. :)