You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Brian Geffon (JIRA)" <ji...@apache.org> on 2013/01/12 01:16:13 UTC

[jira] [Created] (TS-1650) Inactivity cop should use TRY_LOCK instead of LOCK to avoid deadlock.

Brian Geffon created TS-1650:
--------------------------------

             Summary: Inactivity cop should use TRY_LOCK instead of LOCK to avoid deadlock.
                 Key: TS-1650
                 URL: https://issues.apache.org/jira/browse/TS-1650
             Project: Traffic Server
          Issue Type: Bug
            Reporter: Brian Geffon


In situations where a connection may have died while holding on to a mutex this can result in deadlock. Inactivity cops only job is to cleanup, and since it's trying to LOCK it will block. Instead we should just use a TRY_LOCK and continue cleaning up the remaining connections.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira