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

Potential Misconfiguration #26

Open
santolucito opened this issue Jul 22, 2017 · 0 comments
Open

Potential Misconfiguration #26

santolucito opened this issue Jul 22, 2017 · 0 comments

Comments

@santolucito
Copy link

We are a group of researchers from Yale University building a tool to finding bugs in configurations files. To evaluate the effectiveness of our tool, we randomly selected 1000 open source configuration files to verify and are requesting feedback on our error report. Your file https://raw.githubusercontent.com/hebcal/dotcom/065ac417304f3972ab1c9ea3c339a5b641f09592/devops/etc/mysql/conf.d/hebcal.cnf was among those files. When we ran our tool your file, it reported the following potential errors.

[FINE GRAINED ERROR: Expected sort-buffer-size[mysqld] * thread-cache-size[mysqld] >= read-rnd-buffer-size[mysqld]
Found values: ["sort-buffer-size[mysqld]=64k","read-rnd-buffer-size[mysqld]=256k","thread-cache-size[mysqld]=4"]
In the training set we saw: ">=" 78 times, "<=" 4 times, "==" 1 times

FINE GRAINED ERROR: Expected sort-buffer-size[mysqld] * thread-cache-size[mysqld] >= read-buffer-size[mysqld]
Found values: ["sort-buffer-size[mysqld]=64k","read-buffer-size[mysqld]=256k","thread-cache-size[mysqld]=4"]
In the training set we saw: ">=" 83 times, "<=" 4 times, "==" 1 times
]

The training set referenced in the report is taken from the industrial configuration files at https://github.com/tianyin/configuration_datasets. Note that even if your system is currently working, these bug may manifest itself only under large traffic loads or different system environments.

If you feel the any of above errors may indeed cause problems either on your system, or a different system, please comment on this issue report in the space below. This will help use to improve our tool. If you do not believe this is a potential bug, please feel free to close this issue. If possible we would appreciate your feedback before July 27.

If you would like find out more about how we detected these bug, you can find the open source tool at https://github.com/santolucito/ConfigV. For a quick overview of this tool, you can watch this video at https://youtu.be/plliEh-5MpM. If you have further questions, or would like to get involved with this project, feel free to reach out over email at [email protected].

Thank you for your time!

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

1 participant