[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 43/73: update config of db and exch
From: |
gnunet |
Subject: |
[taler-grid5k] 43/73: update config of db and exch |
Date: |
Tue, 14 Dec 2021 15:10:25 +0100 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository grid5k.
commit 6e8f9fd8d49953ce0793844539bb99ae04cccf20
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Wed Dec 1 20:41:49 2021 +0100
update config of db and exch
---
configs/etc/taler/conf.d/exchange-business.conf | 2 +-
experiment/scripts/database.sh | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs/etc/taler/conf.d/exchange-business.conf
b/configs/etc/taler/conf.d/exchange-business.conf
index 7a8b299..27e0f12 100644
--- a/configs/etc/taler/conf.d/exchange-business.conf
+++ b/configs/etc/taler/conf.d/exchange-business.conf
@@ -12,7 +12,7 @@ MASTER_PUBLIC_KEY = <MASTER_KEY_HERE>
# BASE_URL = https://example.com/
BASE_URL = <BASE_URL_HERE>
-MAX_REQUESTS = 1024
+MAX_REQUESTS = 10000
# For your terms of service and privacy policy, you should specify
# an Etag that must be updated whenever there are significant
diff --git a/experiment/scripts/database.sh b/experiment/scripts/database.sh
index 072c605..5d3db46 100755
--- a/experiment/scripts/database.sh
+++ b/experiment/scripts/database.sh
@@ -27,7 +27,7 @@ function setup_config() {
wal_buffers=16MB
max_worker_processes=$(lscpu | grep "CPU(s)" | head -n 1 | awk '{print $2}')
- max_connections=100
+ max_connections=300
# out of shared memory
max_locks_per_transaction=85
@@ -35,7 +35,7 @@ function setup_config() {
# Increase work mem to lower I/O utilization (max used =~ work_mem *
max_connections)
# NOTE: This formula is not completely correct
work_mem=128MB
- idle_in_transaction_session_timeout=3000
+ # idle_in_transaction_session_timeout=10000
" >> /etc/postgresql/13/main/postgresql.conf
# Enable password for taler since this is commonly the case
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 24/73: cleanup with functions - try work_mem and idle_in_transaction, (continued)
- [taler-grid5k] 24/73: cleanup with functions - try work_mem and idle_in_transaction, gnunet, 2021/12/14
- [taler-grid5k] 15/73: build wallet from source since dist does not work, gnunet, 2021/12/14
- [taler-grid5k] 25/73: enable postgres-exporter again, gnunet, 2021/12/14
- [taler-grid5k] 29/73: switch to transaction mode since otherwise its all the same as when pgbouncer not used at all, gnunet, 2021/12/14
- [taler-grid5k] 23/73: disable pgbouncer per default, gnunet, 2021/12/14
- [taler-grid5k] 52/73: possible to configure max_requests with env file, gnunet, 2021/12/14
- [taler-grid5k] 22/73: add pgbouncer, tune pg config, gnunet, 2021/12/14
- [taler-grid5k] 16/73: fix wallet build - broken on master, gnunet, 2021/12/14
- [taler-grid5k] 61/73: refactor db.sh, gnunet, 2021/12/14
- [taler-grid5k] 30/73: increase default pool size, gnunet, 2021/12/14
- [taler-grid5k] 43/73: update config of db and exch,
gnunet <=
- [taler-grid5k] 44/73: -resolve conflict, gnunet, 2021/12/14
- [taler-grid5k] 41/73: update installer script, gnunet, 2021/12/14
- [taler-grid5k] 54/73: enable huge_pages, implement exchange scrape logic, gnunet, 2021/12/14
- [taler-grid5k] 48/73: update install script, gnunet, 2021/12/14
- [taler-grid5k] 37/73: bootstrap seems to work with sudo, gnunet, 2021/12/14
- [taler-grid5k] 47/73: fix stupid bug and fix arguments for bank, gnunet, 2021/12/14
- [taler-grid5k] 55/73: db disk mount, gnunet, 2021/12/14
- [taler-grid5k] 42/73: fix setup.sh, gnunet, 2021/12/14
- [taler-grid5k] 50/73: note about postgres huge pages, gnunet, 2021/12/14
- [taler-grid5k] 39/73: fix typo, gnunet, 2021/12/14