summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-10-22 14:25:05 +0000
committerMarc Laukien <marc@zeroc.com>2004-10-22 14:25:05 +0000
commit0a80538fc6a9a63cb99fbe24f34c679ce6197f08 (patch)
treeba4cfb2dc0cd4edc689e461982e4b320f4bdc8fd /cpp
parentStack size for Ice thread pools (diff)
downloadice-0a80538fc6a9a63cb99fbe24f34c679ce6197f08.tar.bz2
ice-0a80538fc6a9a63cb99fbe24f34c679ce6197f08.tar.xz
ice-0a80538fc6a9a63cb99fbe24f34c679ce6197f08.zip
thread stack size
Diffstat (limited to 'cpp')
-rw-r--r--cpp/demo/Glacier2/callback/config.glacier28
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/demo/Glacier2/callback/config.glacier2 b/cpp/demo/Glacier2/callback/config.glacier2
index f55fc9e5f41..155e9323961 100644
--- a/cpp/demo/Glacier2/callback/config.glacier2
+++ b/cpp/demo/Glacier2/callback/config.glacier2
@@ -52,6 +52,14 @@ Glacier2.Client.SleepTime=500
Glacier2.Server.SleepTime=500
#
+# We must set the stack size of new threads created by Glacier2. The
+# default on Linux is typically in the 10MB range, which is way too
+# high, given that we allocate two threads per client.
+#
+Glacier2.Server.ThreadStackSize=262144
+Glacier2.Client.ThreadStackSize=262144
+
+#
# Glacier2 always disables active connection management so there is no
# need to configure this manually. Connection retry does not need to
# be disabled, as it's safe for Glacier2 to retry outgoing connections