Add memconfig to launcher: Configure defaults based on available RAM
authorJay Pfaffman <pfaffman@relaxpc.com>
Wed, 20 Apr 2016 15:48:39 +0000 (10:48 -0500)
committerJay Pfaffman <pfaffman@relaxpc.com>
Wed, 20 Apr 2016 15:48:39 +0000 (10:48 -0500)
commitf8c887b627e77475d9a04dc41edbce60c7a30738
tree745bd08bf4aa4dac4cf78e77e973c579396d56e3
parent871e57b0e7219c7ea1c228f3214702d3460100f9
Add memconfig to launcher: Configure defaults based on available RAM

Creates or modifies config of db_shared_buffers, db_work_mem, and
UNICORN_WORKERS based on available RAM. Parameters not set in config
file (i.e., commented out), are left unchanged and a warning is printed.
Uses samples/standalone_template.yml as basis, but if accepted, I
recommend uncommenting these defaults in standalone.yml and using it
instead.
README.md
launcher
samples/standalone_template.yml [new file with mode: 0644]