-
-
Notifications
You must be signed in to change notification settings - Fork 436
MySQL can cause cacti to become stalled due to locking issues #4880
Copy link
Copy link
Closed
Labels
boostBoost related issueBoost related issuebugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamdata collectionIssues related to data collectionIssues related to data collectionresolvedA fixed issueA fixed issue
Milestone
Description
Describe the bug
In the last two days, I have found issues with boost that will have a ripple effect. The problem is that the set_lock() MySQL function can essentially block graphing and polling if a data source has been locked, and it is unable to be unlocked.
This will not happen on all occasions as this is a timing issue. As such Cacti needs to be a bit more intelligent about it's use of set_lock() in MySQL.
To Reproduce
Steps to reproduce the behavior:
-
Start boost
-
Abruptly cancel boost child process through a
kill -9which does not allow the signal handler to clear the lock. -
Watch as boost basically gets hung up which can then lead to missed boost processes.
Expected behavior
Less issues that cause Cacti processes to essentially hang.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
boostBoost related issueBoost related issuebugUndesired behaviourUndesired behaviourconfirmedBug is confirm by dev teamBug is confirm by dev teamdata collectionIssues related to data collectionIssues related to data collectionresolvedA fixed issueA fixed issue