Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-892

Deadlock : quickfix.SessionState.setLastSentTime(SessionState.java:145)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Not a bug
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Linux

      Description

      Hi team,

      We have an production issue because of deadlock in quickfixj.
      I searched in your JIRA and found this ticket : QFJ-645 that is very similar issue but i did not understand the solution.
      Can someone advise ?

      2016-05-13 13:49:07,162 [FrequentSched-1] ERROR TaUtils detectDeadLocks - DeadLock detected "TA-CRX-JPMC-WL_trading" Id=447 WAITING on java.util.concurrent.locks.ReentrantLock$NonfairSync@366414ce owned by "TMS2InFCStoneUS_streaming" Id=364
      at sun.misc.Unsafe.park(Native Method)
      waiting on java.util.concurrent.locks.ReentrantLock$NonfairSync@366414ce
      at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
      at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)
      at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)
      at quickfix.SessionState.lockSenderMsgSeqNum(SessionState.java:338)
      ...
      2016-05-13 13:49:07,162 [FrequentSched-1] ERROR TaUtils detectDeadLocks - DeadLock detected "TMS2InFCStoneUS_streaming" Id=364 BLOCKED on quickfix.Session@2f7fe578 owned by "TA-CRX-JPMC-WL_trading" Id=447
      at quickfix.SessionState.setLastSentTime(SessionState.java:145)
      blocked on quickfix.Session@2f7fe578
      at quickfix.Session.initializeHeader(Session.java:680)
      at quickfix.Session.sendRaw(Session.java:2304)
      at quickfix.Session.send(Session.java:2402)
      at quickfix.Session.sendToTarget(Session.java:636)
      at com.tradair.tnet.driver.fix.client.FixClient.sendRequest(FixClient.java:462)
      at com.tradair.tnet.driver.Driver.handleMessages(Driver.java:408)
      at com.tradair.tnet.driver.Driver.run(Driver.java:299)
      ...

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              yonit Yoni Touitou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: