[S.u.S.E. Linux] httpd
Just curious why I have several instances of httpd running when I don't presently have any outside hosts connected? ==================================================================== Michael Lankton <A HREF="http://tasteslikechicken.ml.org"><A HREF="http://tasteslikechicken.ml.org</A">http://tasteslikechicken.ml.org</A</A>> ==================================================================== - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Michael Lankton wrote:
Just curious why I have several instances of httpd running when I don't presently have any outside hosts connected?
Look up the apache docs, it's a performance feature... StartServers directive Syntax: StartServers number Default: StartServers 5 Context: server config Status: core The StartServers directive sets the number of child server processes created on startup. As the number of processes is dynamically controlled depending on the load, there is usually little reason to adjust this parameter. When running under Microsoft Windows, this directive has no effect. There is always one child which handles all requests. Within the child requests are handled by separate threads. The ThreadsPerChild directive controls the maximum number of child threads handling requests, which will have a similar effect to the setting of StartServers on Unix. See also MinSpareServers and MaxSpareServers. Ciao, BB -- Bodo Bauer S.u.S.E., LLC fon +1-510-835 7873 bb@suse.de 458 Santa Clara Avenue fax +1-510-835 7875 <A HREF="http://www.suse.com"><A HREF="http://www.suse.com</A">http://www.suse.com</A</A>> Oakland CA, 94610 USA - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Michael Lankton <satan3@home.com> writes:
Just curious why I have several instances of httpd running when I don't presently have any outside hosts connected?
If you have httpd running as a daemon, it will start extra instances of itself as connections come in. Once started, they hang around depending on the settings in httpd.conf. Have a look at StartServers, MaxSpareServers and MinSpareServers in the config file. -- Bud Rogers <budr@tanet.net> I wore khaki when khaki wasn't cool. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Michael Lankton wrote:
Just curious why I have several instances of httpd running when I don't presently have any outside hosts connected?
==================================================================== Michael Lankton <A HREF="http://tasteslikechicken.ml.org"><A HREF="http://tasteslikechicken.ml.org</A">http://tasteslikechicken.ml.org</A</A>> ==================================================================== - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
In your config file for apache ( /etc/httpd/http.conf ) look for the lines MinSpareServers n MaxSpareServer n For a home system (not a real web server) you only need one. I have the max set to 2 and the min to 1 mc - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Michael Clark wrote:
Michael Lankton wrote:
Just curious why I have several instances of httpd running when I don't presently have any outside hosts connected?
==================================================================== Michael Lankton <A HREF="http://tasteslikechicken.ml.org"><A HREF="http://tasteslikechicken.ml.org</A">http://tasteslikechicken.ml.org</A</A>> ==================================================================== - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
In your config file for apache ( /etc/httpd/http.conf )
look for the lines
MinSpareServers n MaxSpareServer n
For a home system (not a real web server) you only need one. I have the max set to 2 and the min to 1
But even if you have more then one, they don't need very much resources, as long as they wait for incoming connections. As Linux does 'copy-on-write' they'll share the RAM, and are idle. No need to tune this... Cioa, BB -- Bodo Bauer S.u.S.E., LLC fon +1-510-835 7873 bb@suse.de 458 Santa Clara Avenue fax +1-510-835 7875 <A HREF="http://www.suse.com"><A HREF="http://www.suse.com</A">http://www.suse.com</A</A>> Oakland CA, 94610 USA - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (4)
-
bb@suse.com
-
budr@tanet.net
-
mclark@datsrvr.datsit.com
-
satan3@home.com