Skip to content

Aborted connection ... (Got an error reading communication packets) #156

@bnchdan

Description

@bnchdan

Description:
When using lua-resty-mysql with MariaDB, I see frequent warnings in syslog:

[Warning] Aborted connection … (Got an error reading communication packets)

This happens both when using db:set_keepalive(timeout, pool_size) and when using db:close() after queries.

Is this expected behavior?
Are there best practices to avoid these syslog warnings while safely closing or reusing connections?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions