gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-grid5k] 53/73: add more description about huge pages


From: gnunet
Subject: [taler-grid5k] 53/73: add more description about huge pages
Date: Tue, 14 Dec 2021 15:10:35 +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 7e9c2bd85bb1591e2d302e522153237e35293c87
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Tue Dec 7 17:09:52 2021 +0100

    add more description about huge pages
---
 experiment/TODO                | 16 ++++++++++++++++
 experiment/scripts/database.sh |  2 ++
 2 files changed, 18 insertions(+)

diff --git a/experiment/TODO b/experiment/TODO
index 95c06e3..be1a47a 100644
--- a/experiment/TODO
+++ b/experiment/TODO
@@ -4,3 +4,19 @@
 * fix wallet stop
 * try huge_pages 
https://www.postgresql.org/docs/13/runtime-config-resource.html
   https://www.postgresql.org/docs/13/kernel-resources.html
+
+  2021-12-06 09:40:15.921 CET [59226] LOG:  shutting down
+2021-12-06 09:40:15.928 CET [59224] LOG:  database system is shut down
+2021-12-07 16:32:15.839 CET [1992] LOG:  ending log output to stderr
+2021-12-07 16:32:15.839 CET [1992] HINT:  Future log output will go to log 
destination "syslog".
+2021-12-07 17:06:56.775 CET [3229] FATAL:  could not map anonymous shared 
memory: Cannot allocate memory
+2021-12-07 17:06:56.775 CET [3229] HINT:  This error usually means that 
PostgreSQL's request for a shared memory segment exceeded available memory, 
swap space, or huge pages. To reduce the request size (currently 68722991104 
bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing 
shared_buffers or max_connections.
+2021-12-07 17:06:56.775 CET [3229] LOG:  database system is shut down
+pg_ctl: could not start server
+Examine the log output.
+2021-12-07 17:08:37.588 CET [3427] FATAL:  could not map anonymous shared 
memory: Cannot allocate memory
+2021-12-07 17:08:37.588 CET [3427] HINT:  This error usually means that 
PostgreSQL's request for a shared memory segment exceeded available memory, 
swap space, or huge pages. To reduce the request size (currently 68722991104 
bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing 
shared_buffers or max_connections.
+2021-12-07 17:08:37.588 CET [3427] LOG:  database system is shut down
+pg_ctl: could not start server
+Examine the log output.
+
diff --git a/experiment/scripts/database.sh b/experiment/scripts/database.sh
index 180a406..2569991 100755
--- a/experiment/scripts/database.sh
+++ b/experiment/scripts/database.sh
@@ -32,6 +32,8 @@ function setup_config() {
   # (https://www.postgresql.org/docs/13/runtime-config-resource.html)
   shared_buffers=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo) / 3 ))kB
   effective_cache_size=$(($(awk '/MemTotal/ {print $2}' /proc/meminfo) * 
3/4))kB
+
+  # huge_pages=on
   
   # 
(https://www.postgresql.org/docs/current/runtime-config-wal.html#GUC-MAX-WAL-SIZE)
   min_wal_size=4GB

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]