[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 26/73: add pgbouncer config
From: |
gnunet |
Subject: |
[taler-grid5k] 26/73: add pgbouncer config |
Date: |
Tue, 14 Dec 2021 15:10:08 +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 e0ff0fc072eec479bee5c547427ac9398cb3558d
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Tue Nov 30 12:15:21 2021 +0100
add pgbouncer config
---
configs/etc/pgbouncer/pgbouncer.ini | 20 ++++++++++++++++++++
configs/etc/pgbouncer/userslist.txt | 1 +
2 files changed, 21 insertions(+)
diff --git a/configs/etc/pgbouncer/pgbouncer.ini
b/configs/etc/pgbouncer/pgbouncer.ini
new file mode 100644
index 0000000..f264b8f
--- /dev/null
+++ b/configs/etc/pgbouncer/pgbouncer.ini
@@ -0,0 +1,20 @@
+[databases]
+
+<DB_NAME_HERE> = dbname=<DB_NAME_HERE> host=localhost
+
+[pgbouncer]
+
+listen_addr = *
+listen_port = 6432
+
+auth_type = md5
+auth_file = /etc/pgbouncer/userlist.txt
+
+pool_mode = session
+max_client_conn = 100
+default_pool_size = 20
+
+logfile = /var/log/postgresql/pgbouncer.log
+pidfile = /var/run/postgresql/pgbouncer.pid
+
+unix_socket_dir = /var/run/postgresql
diff --git a/configs/etc/pgbouncer/userslist.txt
b/configs/etc/pgbouncer/userslist.txt
new file mode 100644
index 0000000..1436a38
--- /dev/null
+++ b/configs/etc/pgbouncer/userslist.txt
@@ -0,0 +1 @@
+"<DB_USER_HERE>" "<DB_PASSWORD_HERE>"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 09/73: add config options for all exchange processes, (continued)
- [taler-grid5k] 09/73: add config options for all exchange processes, gnunet, 2021/12/14
- [taler-grid5k] 01/73: working well unless dns, gnunet, 2021/12/14
- [taler-grid5k] 11/73: switch back to dahu, gnunet, 2021/12/14
- [taler-grid5k] 07/73: update doc in default env, gnunet, 2021/12/14
- [taler-grid5k] 33/73: add merchant to exporter, gnunet, 2021/12/14
- [taler-grid5k] 08/73: remove executable bits, gnunet, 2021/12/14
- [taler-grid5k] 32/73: fix typo, gnunet, 2021/12/14
- [taler-grid5k] 21/73: switch back to wallet master, gnunet, 2021/12/14
- [taler-grid5k] 12/73: increase max_locks_per_transaction, gnunet, 2021/12/14
- [taler-grid5k] 17/73: still not working on master, use previous commit, gnunet, 2021/12/14
- [taler-grid5k] 26/73: add pgbouncer config,
gnunet <=
- [taler-grid5k] 18/73: wallet core still not building in one step, gnunet, 2021/12/14
- [taler-grid5k] 28/73: increase pgbouncer max connections, gnunet, 2021/12/14
- [taler-grid5k] 31/73: pgbouncer still occupying 6432 even when stopped, gnunet, 2021/12/14
- [taler-grid5k] 35/73: some more pgbouncer config, gnunet, 2021/12/14
- [taler-grid5k] 27/73: rename userlist, gnunet, 2021/12/14
- [taler-grid5k] 20/73: issue in logbackup, gnunet, 2021/12/14
- [taler-grid5k] 19/73: running make two times seems to work, gnunet, 2021/12/14
- [taler-grid5k] 10/73: update service files, gnunet, 2021/12/14
- [taler-grid5k] 34/73: exporter for merchant now on monitor too, gnunet, 2021/12/14
- [taler-grid5k] 24/73: cleanup with functions - try work_mem and idle_in_transaction, gnunet, 2021/12/14