From 4a5b851207c98a380a32e27a183dd98022be9d16 Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Mon, 22 Jun 2015 14:48:41 +0200 Subject: [PATCH] Add note about updatedb to the docs Change-Id: Ia1aa0bb1f93ee487e2f7ddf76a7a08efa8f3ba41 --- doc/source/deployment_guide.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/source/deployment_guide.rst b/doc/source/deployment_guide.rst index a137d786b0..b26f3ceff1 100644 --- a/doc/source/deployment_guide.rst +++ b/doc/source/deployment_guide.rst @@ -1234,6 +1234,16 @@ the system. If your filesystem does not support `fallocate()` or `posix_fallocate()`, be sure to set the `disable_fallocate = true` config parameter in account, container, and object server configs. +Most current Linux distributions ship with a default installation of updatedb. +This tool runs periodically and updates the file name database that is used by +the GNU locate tool. However, including Swift object and container database +files is most likely not required and the periodic update affects the +performance quite a bit. To disable the inclusion of these files add the path +where Swift stores its data to the setting PRUNEPATHS in `/etc/updatedb.conf`:: + + PRUNEPATHS="... /tmp ... /var/spool ... /srv/node" + + --------------------- General System Tuning ---------------------