summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/server/server-conf
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/modules/server/server-conf')
-rwxr-xr-xsca-cpp/trunk/modules/server/server-conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/server/server-conf b/sca-cpp/trunk/modules/server/server-conf
index bfa5ac8473..2674cd9ac5 100755
--- a/sca-cpp/trunk/modules/server/server-conf
+++ b/sca-cpp/trunk/modules/server/server-conf
@@ -22,6 +22,18 @@ here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $h
mkdir -p $1
root=`echo "import os; print os.path.realpath('$1')" | python`
+# Configure thread stack size on MacOS X
+uname=`uname -s`
+if [ "$uname" = "Darwin" ]; then
+ cat >>$root/conf/mpm.conf <<EOF
+# Generated by: httpd-conf $*
+# Set thread stack size
+ThreadStackSize 2097152
+
+EOF
+
+fi
+
# Serve Javascript scripts and CSS
$here/../js/js-conf $1