Skip to content

connections not closed properly? #230

Open

Description

@Pomyk

On second execution of a prepared statement the connection gets aborted, mysql increases 'Aborted clients' status variable and logs:

180816 13:39:30 [Warning] Aborted connection 3434103 to db: 'xxx' user: 'xxx' host: 'x.x.x.x' (Got an error reading communication packets).

Tested on MariaDB 5.5 and latest 10.3

Activity

  1. changed the title [-]error on 2nd execution of prepared statement[/-] [+]connections not closed properly?[/+] on Aug 29, 2018
  2. Pomyk commented on Aug 29, 2018

    @Pomyk
    Author

    After some more debugging I think it isn't tied to prepared statements but to connection pool. Looks like connections that overflow the pool are not closed properly and mysql logs it as aborted connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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