[Vtigercrm-commits] [vtiger-commits] r4822 - in /vtigercrm/trunk/pkg/apache/conf: lin_httpd.conf win_httpd.conf
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 31 05:47:03 EST 2006
Author: richie
Date: Fri Mar 31 03:46:57 2006
New Revision: 4822
Log:
apache parameters changed to enhance performance
Modified:
vtigercrm/trunk/pkg/apache/conf/lin_httpd.conf
vtigercrm/trunk/pkg/apache/conf/win_httpd.conf
Modified: vtigercrm/trunk/pkg/apache/conf/lin_httpd.conf
==============================================================================
--- vtigercrm/trunk/pkg/apache/conf/lin_httpd.conf (original)
+++ vtigercrm/trunk/pkg/apache/conf/lin_httpd.conf Fri Mar 31 03:46:57 2006
@@ -48,6 +48,13 @@
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "VTIGERCRM/vtigerCRM5_beta/apache"
+#refer http://www.faqs.org/docs/securing/chap29sec245.html
+MinSpareServers 16
+MaxSpareServers 64
+StartServers 16
+MaxClients 512
+MaxRequestsPerChild 100000
+
#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
@@ -119,7 +126,7 @@
MinSpareServers 10
MaxSpareServers 15
MaxClients 150
-MaxRequestsPerChild 0
+MaxRequestsPerChild 100000
</IfModule>
# worker MPM
Modified: vtigercrm/trunk/pkg/apache/conf/win_httpd.conf
==============================================================================
--- vtigercrm/trunk/pkg/apache/conf/win_httpd.conf (original)
+++ vtigercrm/trunk/pkg/apache/conf/win_httpd.conf Fri Mar 31 03:46:57 2006
@@ -55,6 +55,12 @@
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "VTIGER_HOME/apache"
+#reference http://www.faqs.org/docs/securing/chap29sec245.html
+MinSpareServers 16
+MaxSpareServers 64
+StartServers 16
+MaxClients 512
+MaxRequestsPerChild 100000
#
# ScoreBoardFile: File used to store internal server process information.
@@ -88,7 +94,7 @@
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
# referred http://www.ece.concordia.ca/~daniel/tips/apache_tuning.html
-MaxKeepAliveRequests 100
+MaxKeepAliveRequests 300
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
@@ -104,7 +110,7 @@
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 250
-MaxRequestsPerChild 0
+MaxRequestsPerChild 100000
</IfModule>
#
More information about the vtigercrm-commits
mailing list