You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2010/10/09 18:45:30 UTC

[jira] Created: (TS-480) Unresponsive server can stall ATS

Unresponsive server can stall ATS
---------------------------------

                 Key: TS-480
                 URL: https://issues.apache.org/jira/browse/TS-480
             Project: Traffic Server
          Issue Type: Bug
          Components: HTTP
    Affects Versions: 2.1.3, 2.1.4, 2.1.2, 2.1.1
            Reporter: Alan M. Carroll


If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919512#action_12919512 ] 

Alan M. Carroll commented on TS-480:
------------------------------------

During out testing we have been having problems with ATS stalling out, then recovering when doing multiple simultaneous clients. I think the problem is caused by the default for NetVCOptions::f_blocking_connect being set to true. When I did that fix initially it wasn't clear to me what the correct default was (as evidenced by the comments for NetVCOptions in I_NetVConnection.h state the default as "false").

As a fix, I propose to

1) Change the default to "false" (that is, connect() does not block).
2) Explicit set the opt.f_blocking_connect to false in HttpSM::do_http_server_open.

I am currently testing this fix locally.

My concern is possible side effects from changing the default. I am still not sufficiently familiar with the connection logic to be confident of this change. Note that for this specific issue, (2) should suffice but I now think that overall the expectation of other code is for the default to be non-blocking.

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2, 2.1.1
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-480:
-------------------------------

    Attachment: ts480-patch.txt

Patch as described.

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2, 2.1.1
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>         Attachments: ts480-patch.txt
>
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-480:
-------------------------------

    Attachment:     (was: ts480-patch.txt)

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2, 2.1.1
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>         Attachments: ts480-patch.txt
>
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-480:
-------------------------------

    Comment: was deleted

(was: Patch as described in comment)

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>         Attachments: ts480-patch.txt
>
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-480:
-------------------------------

    Affects Version/s:     (was: 2.1.1)

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>         Attachments: ts480-patch.txt
>
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-480:
-------------------------------

    Comment: was deleted

(was: Patch as described.)

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>         Attachments: ts480-patch.txt
>
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-480:
-------------------------------

    Comment: was deleted

(was: Where this problem was created.)

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>             Fix For: 2.1.4
>
>         Attachments: ts480-patch.txt
>
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-480:
-------------------------------

    Attachment: ts480-patch.txt

Patch as described in comment

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2, 2.1.1
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>         Attachments: ts480-patch.txt
>
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TS-480) Unresponsive server can stall ATS

Posted by "Alan M. Carroll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll reassigned TS-480:
----------------------------------

    Assignee: Alan M. Carroll

> Unresponsive server can stall ATS
> ---------------------------------
>
>                 Key: TS-480
>                 URL: https://issues.apache.org/jira/browse/TS-480
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 2.1.4, 2.1.3, 2.1.2, 2.1.1
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>
> If a cache fill request from ATS to an origin stalls, this can block all other HTTP connections outbound from ATS. ATS appears to be unresponsive until the stalled request fails, at which point ATS resumes operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.