You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2017/06/23 18:15:02 UTC
[jira] [Commented] (DISPATCH-244) SASL library generates
un-necessary DNS and LDAP requests
[ https://issues.apache.org/jira/browse/DISPATCH-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061334#comment-16061334 ]
Alan Conway commented on DISPATCH-244:
--------------------------------------
I discovered the following: with hostname "wallace" and VPN on `hostname -f` returns wallace.redhat.com!!! So if the hostname lacks a dot, for some reason the domain name of the VPN is getting picked up as the default, at least by some methods of querying. That would explain a lot of stray DNS requests. Setting hostname to wallace.localdomain seems to work for me too.
> SASL library generates un-necessary DNS and LDAP requests
> ---------------------------------------------------------
>
> Key: DISPATCH-244
> URL: https://issues.apache.org/jira/browse/DISPATCH-244
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.5
> Reporter: Alan Conway
> Assignee: Alan Conway
> Attachments: A-perf-flamegraph-3075-work.svg, dispatch-244-gdb-backtrace.txt
>
>
> The dispatch system tests (e.g. system_tests_management) run very slowly when connected to a VPN.
> - about 10x slower on VPN configured to use TCP connection
> - about 5x slower on VPN configured for UDP connection
> Wireshark shows unexpected LDAP and DNS queries on the VPN interface. `wallace` below is the local host name, but is not mentioned in any tests so must be picked up by proton or dispatch at runtime:
> {code}
> 1 0.000000000 10.3.113.108 10.11.6.1 LDAP 242 searchRequest(11) "dc=redhat,dc=com" wholeSubtree
> 2 0.035161000 10.3.113.108 10.5.30.160 DNS 72 Standard query 0xd03f A wallace.lab.bos.redhat.com
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org