You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (Created) (JIRA)" <ji...@apache.org> on 2011/12/20 09:01:32 UTC

[jira] [Created] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

Solr 3.x and 4.x plugins should use best practices in setting up http connections
---------------------------------------------------------------------------------

                 Key: CONNECTORS-333
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
             Project: ManifoldCF
          Issue Type: Bug
          Components: Solr-3.x-component, Solr-4.x-component
    Affects Versions: ManifoldCF 0.4
            Reporter: Karl Wright
             Fix For: ManifoldCF 0.4


The Solr components need to use keep-alive in order to not accumulate handles in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

Posted by "Karl Wright (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173129#comment-13173129 ] 

Karl Wright commented on CONNECTORS-333:
----------------------------------------

r1221215 (Solr 3.x)
r1221217 (Solr 4.x)

                
> Solr 3.x and 4.x plugins should use best practices in setting up http connections
> ---------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-333
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Solr-3.x-component, Solr-4.x-component
>    Affects Versions: ManifoldCF 0.4
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5
>
>
> The Solr components need to use keep-alive in order to not accumulate handles in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

Posted by "Karl Wright (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright updated CONNECTORS-333:
-----------------------------------

    Fix Version/s:     (was: ManifoldCF 0.4)
                   ManifoldCF 0.5
    
> Solr 3.x and 4.x plugins should use best practices in setting up http connections
> ---------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-333
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Solr-3.x-component, Solr-4.x-component
>    Affects Versions: ManifoldCF 0.4
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5
>
>
> The Solr components need to use keep-alive in order to not accumulate handles in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

Posted by "Karl Wright (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173126#comment-13173126 ] 

Karl Wright commented on CONNECTORS-333:
----------------------------------------

I'm going to commit this, even though the cleanup of the MultiThreadedHttpConnectionManager must happen in a finalizer under Solr at the moment.  (This leads to a leaked resource warning when you run the tests.)

                
> Solr 3.x and 4.x plugins should use best practices in setting up http connections
> ---------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-333
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Solr-3.x-component, Solr-4.x-component
>    Affects Versions: ManifoldCF 0.4
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5
>
>
> The Solr components need to use keep-alive in order to not accumulate handles in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

Posted by "Karl Wright (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright updated CONNECTORS-333:
-----------------------------------

    Priority: Critical  (was: Major)
    
> Solr 3.x and 4.x plugins should use best practices in setting up http connections
> ---------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-333
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Solr-3.x-component, Solr-4.x-component
>    Affects Versions: ManifoldCF 0.4
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.4
>
>
> The Solr components need to use keep-alive in order to not accumulate handles in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

Posted by "Karl Wright (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright reassigned CONNECTORS-333:
--------------------------------------

    Assignee: Karl Wright
    
> Solr 3.x and 4.x plugins should use best practices in setting up http connections
> ---------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-333
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Solr-3.x-component, Solr-4.x-component
>    Affects Versions: ManifoldCF 0.4
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 0.4
>
>
> The Solr components need to use keep-alive in order to not accumulate handles in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CONNECTORS-333) Solr 3.x and 4.x plugins should use best practices in setting up http connections

Posted by "Karl Wright (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONNECTORS-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wright resolved CONNECTORS-333.
------------------------------------

    Resolution: Fixed

I was able to get the CloseHook API to be used for both Plugins.  This does not kill the thread, which is bound statically to the multithreaded connection manager class.  The only way to kill it is to call shutdownAll(), which could blow up other things in the same JVM.

                
> Solr 3.x and 4.x plugins should use best practices in setting up http connections
> ---------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-333
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-333
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Solr-3.x-component, Solr-4.x-component
>    Affects Versions: ManifoldCF 0.4
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Critical
>             Fix For: ManifoldCF 0.5
>
>
> The Solr components need to use keep-alive in order to not accumulate handles in CLOSE_WAIT.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira