gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] 02/07: disable SECMEM for Taler exchange,


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 02/07: disable SECMEM for Taler exchange, it causes massive lock contention and then scalability issues
Date: Sat, 11 Aug 2018 11:43:35 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit 17b9f39a86807a42c13a79c5e61062aaeaa8c471
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Aug 11 05:54:10 2018 +0200

    disable SECMEM for Taler exchange, it causes massive lock contention and 
then scalability issues
---
 src/util/os_installation.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 21e1679..8fe39ad 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -60,7 +60,14 @@ TALER_project_data_default (void)
 void __attribute__ ((constructor))
 TALER_OS_init ()
 {
+  gcry_error_t rc;
+
   GNUNET_OS_init (&taler_pd);
+  if ((rc = gcry_control (GCRYCTL_DISABLE_SECMEM, 1)))
+    FPRINTF (stderr,
+             "Failed to set libgcrypt option %s: %s\n",
+             "DISABLE_SECMEM",
+             gcry_strerror (rc));
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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