Pauses git pull / schema updates if InnoDB buffer usage is over configured value #1563

Merged
merged 3 commits into from Jul 29, 2015

Projects

None yet

3 participants

@laf
Member
laf commented Jul 29, 2015

This hopefully stops the issues people see when they update and sql schema changes hang.

The symptoms seem to be when InnoDB buffer used size is over the actual buffer sized configured in my.cnf then schema updates hang.

This will detect this and stop git pull and includes/sql-schema/update.php running but still allowing the rest of the daily tasks to function.

It will email the default_mail if available AND via cronic if it's being used.

laf added some commits Jul 29, 2015
@laf laf Added ability to detect if innodb buffers are overused 03f0de5
@laf laf Added missing 1024! ee22c66
@laf laf And G
36f0ca8
@f0o
Member
f0o commented Jul 29, 2015

👍

@f0o f0o merged commit 43df06c into librenms:master Jul 29, 2015

2 checks passed

Auto-Deploy Build finished.
Details
Scrutinizer No new issues
Details
@laf laf deleted the laf:issue-1345 branch Jan 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment