Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26623

Deactivate connection killer by default

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.10-HF47, 9.10-HF34, 10.10
    • Component/s: Runtime
    • Release Notes Summary:
      The leaked connection killer is disabled by default.
    • Backlog priority:
      700
    • Sprint:
      nxFG 10.10.4
    • Story Points:
      2

      Description

      The connection killer kills connections after a configurable delay, to avoid leaks in case some runaways process never returns it and never interacts with the CoreSession (which would provoke a transaction timeout).

      However the connection killer process is inherently flawed because it runs from a separate thread and is not able to cleanup everything in the connection pool, because the connection pool has thread-related caching datastructures. This results connection returned to the pool when they are killed but in an unusable state because they have not correctly been cleaned up.

      So we should deactivate the connection killer by default, before removing it entirely in a further release.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m