summaryrefslogtreecommitdiffstats
path: root/etc/account-server.conf-gluster
diff options
context:
space:
mode:
authorPeter Portante <peter.portante@redhat.com>2013-07-08 14:10:45 -0400
committerLuis Pabon <lpabon@redhat.com>2013-07-10 15:49:26 -0700
commit677d30716978615d0499344ac0a62c2755a486cf (patch)
treeb86a156f120bdcd6f10d6b9998ef20b80cf50639 /etc/account-server.conf-gluster
parentf8d876248d29fa7f4857ac8ca02324795ba53353 (diff)
Final forward port of PDQ performance patches
Change-Id: I4ef131b3cc7648d4571a4d854029efb1aff8b901 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/5305 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'etc/account-server.conf-gluster')
-rw-r--r--etc/account-server.conf-gluster19
1 files changed, 17 insertions, 2 deletions
diff --git a/etc/account-server.conf-gluster b/etc/account-server.conf-gluster
index b47680a..0804605 100644
--- a/etc/account-server.conf-gluster
+++ b/etc/account-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 account-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 = 6012
-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 = account-server
[app:account-server]
use = egg:gluster_swift#account
+user = root
+log_facility = LOG_LOCAL2
+#
+# After ensuring things are running in a stable manner, you can turn off
+# normal request logging for the account server to unclutter the log
+# files. Warnings and errors will still be logged.
+log_requests = on
[account-replicator]
vm_test_mode = yes