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

warning "Aborted connection .. to db: '...' user: '...' host: '10.1.156.63' (Got an error reading communication packets) #52

Closed
daniva6 opened this issue Mar 1, 2023 · 3 comments
Assignees
Labels
bug Something isn't working database

Comments

@daniva6
Copy link

daniva6 commented Mar 1, 2023

Kubernetes version: microk8s v1.26.1
mariadb-operator version: latest
Install method: helm
Install flavour: minimal

Hi, when I connect an application (fireflyiii) sometimes the warning "Aborted connection .. to db: '...' user: '...' host: '10.1.156.63' (Got an error reading communication packets)" appears. The application does not receive the expected data in that case.
Thank you for any help.

@mmontes11 mmontes11 self-assigned this Mar 1, 2023
@mmontes11 mmontes11 added bug Something isn't working database labels Mar 1, 2023
@mmontes11
Copy link
Member

mmontes11 commented Mar 1, 2023

Thanks for reporting @daniva6 !

According to this, raising max_allowed_packet most likely fixes this issue.

Specifying a custom my.cnf, and therefore max_allowed_packet, will be possible when this feature is implemented in the next release:

Will keep you in the loop 🔁

@daniva6
Copy link
Author

daniva6 commented Mar 2, 2023

thank you for your suggestion @mmontes11
it seems like the problem surfaces when you have hugepages enabled, on a cluster without hugepages it works like a charm.

@mmontes11
Copy link
Member

Hey @daniva6 !

The custom my.cnf feature has been eleased in the v0.0.9, make sure you update:

This is something that can potentially fix the current issue. To do so, specify a custom my.cnf with the max_allowed_packet param, like in this example:

Closing! Thanks for contributing to mariadb-operator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database
Projects
None yet
Development

No branches or pull requests

2 participants