From d2e7a1958c473fd85234f5140ab308edc1b1279a Mon Sep 17 00:00:00 2001 From: cigamit Date: Thu, 23 May 2019 19:27:49 -0500 Subject: [PATCH] Resolving Issue #94 Increase default 'results_buffer' size to 2048 and MySQL max buffer to 131072 bytes --- CHANGELOG | 3 +++ configure.ac | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 67696a89..200b7fc2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ The Cacti Group | spine +1.2.4 +-issue#94: Increase default 'results_buffer' size to 2048 and MySQL max buffer to 131072 bytes + 1.2.3 -issue#76: Spine unhandled exception signal -issue: More recent versions of MariaDB require different client library diff --git a/configure.ac b/configure.ac index 81eab4f4..f2a93b49 100644 --- a/configure.ac +++ b/configure.ac @@ -362,9 +362,9 @@ AC_CHECK_LIB(netsnmp, snmp_timeout) # ****************** Spine Result Buffer Check *********************** # Check for the default spine output buffer size -results_buffer=1024 +results_buffer=2048 AC_ARG_WITH(results-buffer, - AC_HELP_STRING([--with-results-buffer=N], [The size of the spine results buffer (default=1024)]), + AC_HELP_STRING([--with-results-buffer=N], [The size of the spine results buffer (default=2048)]), [results_buffer=$withval] ) AC_DEFINE_UNQUOTED(RESULTS_BUFFER, $results_buffer, The size of the spine result buffer) @@ -382,9 +382,9 @@ AC_MSG_RESULT(checking for the maximum simultaneous spine scripts... $max_script # ****************** Maximum MySQL Buffer Size *********************** # Check for the most scripts that can be active at one time per spine process -max_mysql_buffer=65536 +max_mysql_buffer=131072 AC_ARG_WITH(max-mysql-buffer, - AC_HELP_STRING([--with-max-mysql-buffer=N], [The maximum SQL insert size allowed (default=65536)]), + AC_HELP_STRING([--with-max-mysql-buffer=N], [The maximum SQL insert size allowed (default=131072)]), [max_mysql_buffer=$withval] ) AC_DEFINE_UNQUOTED(MAX_MYSQL_BUF_SIZE, $max_mysql_buffer, The maximum MySQL buffer size to insert)