summaryrefslogtreecommitdiffstats
path: root/etc/container-server.conf-gluster
diff options
context:
space:
mode:
Diffstat (limited to 'etc/container-server.conf-gluster')
-rw-r--r--etc/container-server.conf-gluster19
1 files changed, 17 insertions, 2 deletions
diff --git a/etc/container-server.conf-gluster b/etc/container-server.conf-gluster
index 2f488f1..a5ae298 100644
--- a/etc/container-server.conf-gluster
+++ b/etc/container-server.conf-gluster
@@ -1,17 +1,32 @@
[DEFAULT]
devices = /mnt/gluster-object
+#
+# Once you are confident that your startup processes will always have your
+# gluster volumes properly mounted *before* the container-server workers
+# start, you can *consider* setting this value to "false" to reduce the
+# per-request overhead it can incur.
mount_check = true
bind_port = 6011
-user = root
-log_facility = LOG_LOCAL2
+#
# Override swift's default behaviour for fallocate.
disable_fallocate = true
+#
+# One or two workers should be sufficient for almost any installation of
+# Gluster.
+workers = 1
[pipeline:main]
pipeline = container-server
[app:container-server]
use = egg:gluster_swift#container
+user = root
+log_facility = LOG_LOCAL2
+#
+# After ensuring things are running in a stable manner, you can turn off
+# normal request logging for the container server to unclutter the log
+# files. Warnings and errors will still be logged.
+log_requests = on
[container-replicator]
vm_test_mode = yes