You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Anders Wallgren (JIRA)" <ji...@apache.org> on 2007/06/24 00:03:27 UTC

[jira] Created: (HTTPCORE-85) Some SessionRequests to DefaultConnectingIOReactor get dropped during load

Some SessionRequests to DefaultConnectingIOReactor get dropped during load
--------------------------------------------------------------------------

                 Key: HTTPCORE-85
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-85
             Project: HttpComponents Core
          Issue Type: Bug
          Components: HttpCore NIO
    Affects Versions: 4.0-alpha5
         Environment: RHEL 4, dual-core
            Reporter: Anders Wallgren


Some of our tests are still failing, against the current SVN head (Revision 549923).

One of the test that fails intermittently issues two session requests from a single thread to a DefaultConnectingIOReactor, one after the other, to the same host/port.

The symptom of the failure is that the first SessionRequest never proceeds, while the second does just fine.  It happens about 10% of the time.

I will attempt to pare this down to simple test case.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCORE-85) Some SessionRequests to DefaultConnectingIOReactor get dropped during load

Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507637 ] 

Anders Wallgren commented on HTTPCORE-85:
-----------------------------------------

On further inspection, this looks like it was self-inflicted.  Much earlier, my code failed an assertion, which caused one of the worker threads in the IOReactor to die.  Later on, my guess is, another request was assigned to that thred, which is why the session request never gets processed.

This does raise the issue, however, of how the IOReactor should behave when client code misbehaves...I'm of two minds as to whether the need for robustness, on the one hand, should trump the desire not to mask ill-behaved code, on the other.

> Some SessionRequests to DefaultConnectingIOReactor get dropped during load
> --------------------------------------------------------------------------
>
>                 Key: HTTPCORE-85
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-85
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: RHEL 4, dual-core
>            Reporter: Anders Wallgren
>
> Some of our tests are still failing, against the current SVN head (Revision 549923).
> One of the test that fails intermittently issues two session requests from a single thread to a DefaultConnectingIOReactor, one after the other, to the same host/port.
> The symptom of the failure is that the first SessionRequest never proceeds, while the second does just fine.  It happens about 10% of the time.
> I will attempt to pare this down to simple test case.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCORE-85) Some SessionRequests to DefaultConnectingIOReactor get dropped during load

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507675 ] 

Oleg Kalnichevski commented on HTTPCORE-85:
-------------------------------------------

Anders,
Please take a look at HTTPCORE-87. The fix for the issue should help ensure runtime exceptions thrown in individual I/O worker threads get correctly propagated to the I/O reactor.

Oleg

> Some SessionRequests to DefaultConnectingIOReactor get dropped during load
> --------------------------------------------------------------------------
>
>                 Key: HTTPCORE-85
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-85
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: RHEL 4, dual-core
>            Reporter: Anders Wallgren
>
> Some of our tests are still failing, against the current SVN head (Revision 549923).
> One of the test that fails intermittently issues two session requests from a single thread to a DefaultConnectingIOReactor, one after the other, to the same host/port.
> The symptom of the failure is that the first SessionRequest never proceeds, while the second does just fine.  It happens about 10% of the time.
> I will attempt to pare this down to simple test case.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCORE-85) Some SessionRequests to DefaultConnectingIOReactor get dropped during load

Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507634 ] 

Anders Wallgren commented on HTTPCORE-85:
-----------------------------------------

Also, none of the SessionRequestCallback methods are called.

> Some SessionRequests to DefaultConnectingIOReactor get dropped during load
> --------------------------------------------------------------------------
>
>                 Key: HTTPCORE-85
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-85
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: RHEL 4, dual-core
>            Reporter: Anders Wallgren
>
> Some of our tests are still failing, against the current SVN head (Revision 549923).
> One of the test that fails intermittently issues two session requests from a single thread to a DefaultConnectingIOReactor, one after the other, to the same host/port.
> The symptom of the failure is that the first SessionRequest never proceeds, while the second does just fine.  It happens about 10% of the time.
> I will attempt to pare this down to simple test case.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Commented: (HTTPCORE-85) Some SessionRequests to DefaultConnectingIOReactor get dropped during load

Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCORE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507633 ] 

Anders Wallgren commented on HTTPCORE-85:
-----------------------------------------

On the session request that fails, HttpRequestExecutionHandler.initializeContext is never called.

> Some SessionRequests to DefaultConnectingIOReactor get dropped during load
> --------------------------------------------------------------------------
>
>                 Key: HTTPCORE-85
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-85
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: RHEL 4, dual-core
>            Reporter: Anders Wallgren
>
> Some of our tests are still failing, against the current SVN head (Revision 549923).
> One of the test that fails intermittently issues two session requests from a single thread to a DefaultConnectingIOReactor, one after the other, to the same host/port.
> The symptom of the failure is that the first SessionRequest never proceeds, while the second does just fine.  It happens about 10% of the time.
> I will attempt to pare this down to simple test case.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


[jira] Resolved: (HTTPCORE-85) Some SessionRequests to DefaultConnectingIOReactor get dropped during load

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-85.
---------------------------------------

    Resolution: Invalid

Anders,
I know we still need to add a mechanism to re-start failed I/O worker threads, but this functionality can be added without affecting existing APIs, that is, after the API freeze.  I am closing the issue as invalid. Feel free to re-open it if you have any new findings about the problem.

Oleg

> Some SessionRequests to DefaultConnectingIOReactor get dropped during load
> --------------------------------------------------------------------------
>
>                 Key: HTTPCORE-85
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-85
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: RHEL 4, dual-core
>            Reporter: Anders Wallgren
>
> Some of our tests are still failing, against the current SVN head (Revision 549923).
> One of the test that fails intermittently issues two session requests from a single thread to a DefaultConnectingIOReactor, one after the other, to the same host/port.
> The symptom of the failure is that the first SessionRequest never proceeds, while the second does just fine.  It happens about 10% of the time.
> I will attempt to pare this down to simple test case.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org