Skip to content

Commit

Permalink
Resolving Issue #94
Browse files Browse the repository at this point in the history
Increase default 'results_buffer' size to 2048 and MySQL max buffer to 131072 bytes
  • Loading branch information
cigamit committed May 24, 2019
1 parent 43142d8 commit d2e7a19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit d2e7a19

Please sign in to comment.