[rabbitmq-discuss] AMQP connections closing very frequently

Ankit Agarwal ankit.ag2010 at gmail.com
Mon Jun 24 07:12:52 BST 2013


 I have recently upgraded logstash version from 2.8.4.It was performing 
very well with my setup.

 I am using logstash to ship logs to RabbitMQ.

 After upgrading to 3.1.1.I have started facing closed connection issues on 
logstash.

Logstash throws these errors:-

{:message=>"AMQP connection error (during connect), will reconnect", 
:exception=>#<Bunny::ServerDownError: Connection refused - Connection 
refused>, 
:backtrace=>["jar:file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/gems/bunny-0.8.0/lib/qrack/client.rb:226:in 
`socket'", 
"jar:file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/gems/bunny-0.8.0/lib/qrack/client.rb:222:in 
`socket'", 
"jar:file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/gems/bunny-0.8.0/lib/bunny/client.rb:295:in 
`start_session'", 
"file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/logstash/outputs/amqp.rb:94:in 
`connect'", 
"file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/logstash/outputs/amqp.rb:140:in 
`receive_raw'", 
"file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/logstash/outputs/amqp.rb:136:in 
`receive_raw'", 
"file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/logstash/outputs/amqp.rb:121:in 
`receive'", 
"file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/logstash/outputs/base.rb:55:in 
`handle'", 
"file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/logstash/agent.rb:758:in 
`run_output'", 
"file:/home/hs18web/logstash/logstash-1.1.9-monolithic.jar!/logstash/agent.rb:379:in 
`start_output'"], :level=>:error}

On the rabbitmq side i m getting these errors:-


=ERROR REPORT==== 24-Jun-2013::11:27:51 ===
AMQP connection <0.26481.237> (running), channel 1 - error:
{amqp_error,frame_error,
            "type 3, all octets = <<>>: {frame_too_large,1020815,131064}",
            none}

=ERROR REPORT==== 24-Jun-2013::11:27:54 ===
closing AMQP connection <0.26481.237> (172.16.0.60:53224 -> 
172.16.0.63:5672):
fatal_frame_error

As the AMQP connections are closing i need to restart logstash.All the 
reports for the day are hampering.

Please help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130623/fe93e52e/attachment.htm>


More information about the rabbitmq-discuss mailing list