[rabbitmq-discuss] rabbitmq client timeouts, slow responses
terrysduncan at gmail.com
Thu Oct 17 18:52:20 BST 2013
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'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.
On Thu, Oct 17, 2013 at 3:30 AM, Michael Klishin-2 [via RabbitMQ] <
ml-node+s1065348n30591h17 at n5.nabble.com> wrote:
> On 16 Oct 2013, at 01:13, tsduncan <[hidden email]<http://user/SendEmail.jtp?type=node&node=30591&i=0>>
> > 1. why the server is taking so long to respond causing > 10 second
> By "responses" do you mean accepting TCP connections?
> If your applications constantly open and close connections
> (RabbitMQ protocol primarily assumes long running connections),
> RabbitMQ or OS may be temporarily low on available file descriptors.
> If you connect using hostnames instead of IPs, DNS resolution may take
> a long time.
> Please post rabbitmqctl report output (Application Environment part of
> rabbitmq-discuss mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=30591&i=1>
> If you reply to this email, your message will be added to the discussion
> To unsubscribe from rabbitmq client timeouts, slow responses, click here<http://rabbitmq.1065348.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=30510&code=dGVycnlzZHVuY2FuQGdtYWlsLmNvbXwzMDUxMHwxNjcwOTI5MjYx>
View this message in context: http://rabbitmq.1065348.n5.nabble.com/rabbitmq-client-timeouts-slow-responses-tp30510p30626.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss