Uploaded image for project: 'Lucee Development'
  1. LDEV-396

BLOCKED on lucee.runtime.db.DCStack@1c1dfcc1

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.5.1.000
    • Fix Version/s: 5.0.1.10, 4.5.4.003
    • Labels:
      None
    • Environment:
      • RHEL 6.6
      • Stock Lucee MySQL JDBC Driver
      • MariaDB 5.5.43

      Description

      5/12, I had a load testing server become unresponsive while monitoring with FusionReactor. A lot of threads were stuck at the following point, and I couldn't force-kill them with FusionReactor.

      "http-bio-8888-exec-46" Id=10795 BLOCKED on lucee.runtime.db.DCStack@1c1dfcc1 owned by "http-bio-8888-exec-4" Id=72 
         java.lang.Thread.State: BLOCKED
              at lucee.runtime.db.DatasourceConnectionPool.getDatasourceConnection(Unknown Source)
              - waiting to lock lucee.runtime.db.DCStack@1c1dfcc1 owned by "http-bio-8888-exec-4"
              at lucee.runtime.db.DatasourceManagerImpl.getConnection(Unknown Source)
              at lucee.runtime.tag.Query.executeDatasoure(Unknown Source)
              at lucee.runtime.tag.Query.doEndTag(Unknown Source)
      

      Full stack trace dump from the load test server during the incident: https://gist.github.com/jamiejackson/4b739ff5844423c1d9e0#file-gistfile1-txt-L296-L302

      Just as I was filing this ticket, production failed in a similar way, requiring a Lucee restart. Here is the stack trace dump: https://gist.github.com/jamiejackson/d248cf956929ce0c42ae#file-production-stack-dump-L1021-L1027

      Original Lucee Mailing List question: https://groups.google.com/forum/#!topic/lucee/UinabodWLYg

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                michaeloffner Michael Offner
                Reporter:
                Jamie Jackson Jamie Jackson
              • Votes:
                8 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: