Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open-vm-tools vmtoolsd crashes when script fails to achieve lock. #3

Open
denlun opened this issue Feb 20, 2015 · 4 comments
Open

Open-vm-tools vmtoolsd crashes when script fails to achieve lock. #3

denlun opened this issue Feb 20, 2015 · 4 comments

Comments

@denlun
Copy link

denlun commented Feb 20, 2015

Running on Ubuntu 14.04 LTS with open-vm-tools version 9.4.0.
When lock is achieved within the timeout the vmtoolsd process is still running fine, but if locking fails the vmtoolsd process is no longer running after the script ends.

@sergesyrota
Copy link
Owner

Oh, interesting, just noticed now that there was this issue created. Wondering if my github emails are getting trashed.

Anyways, is this still happening? Is this a problem with script not producing correct exit codes, or a bug in open-vm-tools? Were you able to figure out a workaround?

@denlun
Copy link
Author

denlun commented Nov 30, 2015

Well, no.
The scripts were in put in place to do a "FLUSH TABLES WITH READ LOCK" on MariaDB before Veeam ran it's snapshot for backing up. Fortunately the job load on the MariaDB changed to shorter running queries so I no longer run into the issue with the lock failing due to a timeout waiting for long-running SQL queries.

@denlun
Copy link
Author

denlun commented Nov 30, 2015

I can post the script if anyone is interested...

@sergesyrota
Copy link
Owner

Hmm, this script has a mechanism to not run flush until all long running queries have finished executing. There is still timeout (10 minutes by default) to acquire a lock. You can play with those variables to adjust as needed.

Not sure how the script you're using is different in regards how it handles long running queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants