<div dir="ltr">Yes, I meant accepting the TCP connection. There are other applications that are using the bus (which I am not in control of) that use short term connections to send a message and then go away. I am dealing with a connection/socket shortage and that can be resolved. I&#39;d like to make my app more resilient to such an issue by not giving up after 10 seconds.  A python script connecting with the PIKA library will connect after 30-50 seconds. But there is something in the RabbitMQ Java library that times out after 10 seconds. I am searching for that timeout value so I can increase it.  The connectionFactory.setConnectionTimeout() sounds like the right thing but does not affect this timeout.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 3:30 AM, Michael Klishin-2 [via RabbitMQ] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=30626&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        On 16 Oct 2013, at 01:13, tsduncan &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=30591&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
<br><br>&gt; 1. why the server is taking so long to respond causing &gt; 10 second responses
<br><br></div>By &quot;responses&quot; do you mean accepting TCP connections?
<br><br>If your applications constantly open and close connections
<br>(RabbitMQ protocol primarily assumes long running connections),
<br>RabbitMQ or OS may be temporarily low on available file descriptors.
<br><br>If you connect using hostnames instead of IPs, DNS resolution may take
<br>a long time.
<br><br>Please post rabbitmqctl report output (Application Environment part of it).
<br><br>MK
<br><br><br><br>_______________________________________________
<br>rabbitmq-discuss mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=30591&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" rel="nofollow" link="external" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://rabbitmq.1065348.n5.nabble.com/rabbitmq-client-timeouts-slow-responses-tp30510p30591.html" target="_blank" rel="nofollow" link="external">http://rabbitmq.1065348.n5.nabble.com/rabbitmq-client-timeouts-slow-responses-tp30510p30591.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from rabbitmq client timeouts, slow responses, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/rabbitmq-client-timeouts-slow-responses-tp30510p30626.html">Re: rabbitmq client timeouts, slow responses</a><br/>
Sent from the <a href="http://rabbitmq.1065348.n5.nabble.com/">RabbitMQ mailing list archive</a> at Nabble.com.<br/>