Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-563

Thread leak reported by Tomcat when using the connector

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.5.0
    • Component/s: batch
    • Labels:
      None
    • Environment:
      Linux 64-bit rhel07

      Description

      When used in a Tomcat application, the following thread leaks are reported sometimes:

      WARNING: The web application [...] appears to have started a thread named [MariaDb-bulk-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: sun.misc.Unsafe.park(Native Method)
      

      The Driver is properly unloaded. It seems like these threads are not being joined.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                diego dupin Diego Dupin
                Reporter:
                bgedik Bugra Gedik
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: