You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "michael j. goulish (JIRA)" <ji...@apache.org> on 2011/08/19 19:44:27 UTC
[jira] [Created] (QPID-3438) cluster auth failure increments cnx
count
cluster auth failure increments cnx count
-----------------------------------------
Key: QPID-3438
URL: https://issues.apache.org/jira/browse/QPID-3438
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Reporter: michael j. goulish
Assignee: michael j. goulish
Fix For: 0.14
If a cluster brokers are authenticating, and an attempted cnx fails due to an auth problem, the broker nevertheless increments its cnx counter. Which means it eventually runs out of available connections -- even if there aren't any open. :-(
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Commented] (QPID-3438) cluster auth failure increments cnx
count
Posted by "michael j. goulish (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170974#comment-13170974 ]
michael j. goulish commented on QPID-3438:
------------------------------------------
fixed in svn revision 1215127.
in case of bad credentials -- cluster was holding an auto_ptr to the cnx in its "localConnections" map, thus preventing the unopened cnx from ever being destroyed.
> cluster auth failure increments cnx count
> -----------------------------------------
>
> Key: QPID-3438
> URL: https://issues.apache.org/jira/browse/QPID-3438
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Reporter: michael j. goulish
> Assignee: michael j. goulish
> Fix For: 0.14
>
>
> If a cluster brokers are authenticating, and an attempted cnx fails due to an auth problem, the broker nevertheless increments its cnx counter. Which means it eventually runs out of available connections -- even if there aren't any open. :-(
--
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
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Commented] (QPID-3438) cluster auth failure increments cnx
count
Posted by "Pavel Moravec (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252344#comment-13252344 ]
Pavel Moravec commented on QPID-3438:
-------------------------------------
"Fix in Version" is wrong. It is fixed only in 0.16, not in 0.14
> cluster auth failure increments cnx count
> -----------------------------------------
>
> Key: QPID-3438
> URL: https://issues.apache.org/jira/browse/QPID-3438
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Reporter: michael j. goulish
> Assignee: michael j. goulish
> Fix For: 0.14
>
>
> If a cluster brokers are authenticating, and an attempted cnx fails due to an auth problem, the broker nevertheless increments its cnx counter. Which means it eventually runs out of available connections -- even if there aren't any open. :-(
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Commented] (QPID-3438) cluster auth failure increments cnx
count
Posted by "Alan Conway (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088689#comment-13088689 ]
Alan Conway commented on QPID-3438:
-----------------------------------
See review https://reviews.apache.org/r/1591/
> cluster auth failure increments cnx count
> -----------------------------------------
>
> Key: QPID-3438
> URL: https://issues.apache.org/jira/browse/QPID-3438
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Reporter: michael j. goulish
> Assignee: michael j. goulish
> Fix For: 0.14
>
>
> If a cluster brokers are authenticating, and an attempted cnx fails due to an auth problem, the broker nevertheless increments its cnx counter. Which means it eventually runs out of available connections -- even if there aren't any open. :-(
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Resolved] (QPID-3438) cluster auth failure increments cnx
count
Posted by "michael j. goulish (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
michael j. goulish resolved QPID-3438.
--------------------------------------
Resolution: Fixed
fixed in revision 1215127.
in case of bad credentials, cluster code was holding an auto_ptr to the cnx in its local cnx map, thus preventing the broker cnx from ever being destroyed. enough badr-credential login attempts would saturate broker's cnx counter, and prevent further connections -- even with good credentials.
> cluster auth failure increments cnx count
> -----------------------------------------
>
> Key: QPID-3438
> URL: https://issues.apache.org/jira/browse/QPID-3438
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Reporter: michael j. goulish
> Assignee: michael j. goulish
> Fix For: 0.14
>
>
> If a cluster brokers are authenticating, and an attempted cnx fails due to an auth problem, the broker nevertheless increments its cnx counter. Which means it eventually runs out of available connections -- even if there aren't any open. :-(
--
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
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org