[rabbitmq-discuss] AMQP connections closing very frequently

Ankit Agarwal ankit.ag2010 at gmail.com
Fri Jun 28 07:40:18 BST 2013


I created a rabbitmq.config file in /etc/rabbitmq/ to set the frame_max size

[
    {rabbit, [{frame_max ,0 }]}
  ].

But its not reading from the file.

Please help

On Monday, June 24, 2013 11:42:52 AM UTC+5:30, Ankit Agarwal wrote:
>
>
>  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/20130627/8223f16c/attachment.htm>


More information about the rabbitmq-discuss mailing list