Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   TCP Tuning/Apache question (possibly OT) (http://www.linux-archive.org/centos/365408-tcp-tuning-apache-question-possibly-ot.html)

Kwan Lowe 05-03-2010 02:13 PM

TCP Tuning/Apache question (possibly OT)
 
Hello All:

I've been requested to add some TCP tuning parameters to some CentOS
5.4 systems. These tunings are for the TCP receive buffer windows:

net.core.rmem_max
net.core.wmem_max

Information on this tuning is broadly available:
http://fasterdata.es.net/TCP-tuning/linux.html
http://www.speedguide.net/read_articles.php?id=121

Potential downsides are available:
http://www.29west.com/docs/THPM/udp-buffer-sizing.html

>From the above, the rmem size is a function of the number of listening
processes times the size of the receive buffer.

Apache can initially create a bunch of server processes (StartServers
directive, for example). In our environment we may spawn off 50 or
more httpd listeners. Does each listener allocate its own buffer or is
the parent process the only one?

The tunable seems innocuous but I am concerned about the impact to
memory given that there will be many listener processes. We are
running fairly tight already and because these are virtual
environments in a cluster, adding a meg or so per listener can equate
to multiple gigs across all the machines in the virtual host cluster.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 01:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.