Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: PingPing on April 28, 2009, 02:49:00 PM

Title: Apache spawns 6 processes. Is this right? [SOLVED]
Post by: PingPing 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?
Title: Re: Apache spawns 6 processes. Is this right?
Post by: softwaregurl 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.
Title: Re: Apache spawns 6 processes. Is this right?
Post by: PingPing 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. :)