X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b2aa42213a7d333bbe93e040c2d152a70e9b5af..6ac835d8869876955d85a86a4b6d35c12b0d63ac:/doc/install/install-keepstore.html.textile.liquid diff --git a/doc/install/install-keepstore.html.textile.liquid b/doc/install/install-keepstore.html.textile.liquid index c0a8bacb41..2b4ee930fa 100644 --- a/doc/install/install-keepstore.html.textile.liquid +++ b/doc/install/install-keepstore.html.textile.liquid @@ -3,6 +3,11 @@ layout: default navsection: installguide title: Install Keepstore servers ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} We are going to install two Keepstore servers. By convention, we use the following hostname pattern: @@ -142,7 +147,7 @@ Install this script as the run script for the keepstore service, modifying it as
#!/bin/sh
 
 exec 2>&1
-exec GOGC=10 GOMAXPROCS=4 keepstore \
+exec GOGC=10 keepstore \
  -enforce-permissions=true \
  -blob-signing-key-file=/etc/keepstore/blob-signing.key \
  -max-buffers=100 \
@@ -153,9 +158,7 @@ exec GOGC=10 GOMAXPROCS=4 keepstore \
 
-The @GOMAXPROCS@ environment variable determines the maximum number of concurrent threads, and should normally be set to the number of CPU cores present. - -The @-max-buffers@ argument limits keepstore's memory usage. It should be set such that @max-buffers * 64MiB + 10%@ fits comfortably in memory. For example, @-max-buffers=100@ is suitable for a host with 8 GiB RAM. +p(#max-buffers). The @-max-buffers@ argument limits keepstore's memory usage. It should be set such that @max-buffers * 64MiB + 10%@ fits comfortably in memory. On a host dedicated to running keepstore, divide total memory by 88MiB to suggest a suitable value. For example, if @grep MemTotal /proc/meminfo@ reports @MemTotal: 7125440 kB@, compute 7125440÷(88×1024)=79 and configure @-max-buffers=79@. If you want access control on your Keepstore server(s), you must specify the @-enforce-permissions@ flag and provide a signing key. The @-blob-signing-key-file@ argument should be a file containing a long random alphanumeric string with no internal line breaks (it is also possible to use a socket or FIFO: keepstore reads it only once, at startup). This key must be the same as the @blob_signing_key@ configured in the "API server's":install-api-server.html configuration file, @/etc/arvados/api/application.yml@.