[rabbitmq-discuss] while would a close/fin of a connection elicit a reset/rst by rabbitmq?

Sam Roberts vieuxtech at gmail.com
Fri May 3 21:15:52 BST 2013


Some of my rabbitmq servers don't do graceful closes, no idea why.
This is a localhost unit test, it is just opening a connection, then
closing it, and now the outgoing close is eliciting a reset.

The log doesn't say much, is there any way to increase its verbosity?

With rabbitmq 3.0.4, on debian, installed from the rmq apt repo.


=INFO REPORT==== 3-May-2013::19:24:52 ===
accepting AMQP connection <0.624.0> (127.0.0.1:37518 -> 127.0.0.1:5672)

=WARNING REPORT==== 3-May-2013::19:24:52 ===
closing AMQP connection <0.624.0> (127.0.0.1:37518 -> 127.0.0.1:5672):
connection_closed_abruptly



 % tshark -r rst.pcap
  1   0.000000    127.0.0.1 37490 127.0.0.1    5672 TCP 74 37490 >
amqp [SYN] Seq=0 Win=32792 Len=0 MSS=16396 SACK_PERM=1 TSval=187898
TSecr=0 WS=128
  2   0.000016    127.0.0.1 5672 127.0.0.1    37490 TCP 74 amqp >
37490 [SYN, ACK] Seq=0 Ack=1 Win=32768 Len=0 MSS=16396 SACK_PERM=1
TSval=187898 TSecr=187898 WS=128
  3   0.000029    127.0.0.1 37490 127.0.0.1    5672 TCP 66 37490 >
amqp [ACK] Seq=1 Ack=1 Win=32896 Len=0 TSval=187898 TSecr=187898
  4   0.001896    127.0.0.1 37490 127.0.0.1    5672 TCP 74 37490 >
amqp [PSH, ACK] Seq=1 Ack=1 Win=32896 Len=8 TSval=187898
TSecr=187898AMQP (unknown version)
  5   0.001907    127.0.0.1 5672 127.0.0.1    37490 TCP 66 amqp >
37490 [ACK] Seq=1 Ack=9 Win=32768 Len=0 TSval=187898 TSecr=187898
  6   0.002137    127.0.0.1 5672 127.0.0.1    37490 AMQP 401 Connection.Start
  7   0.002212    127.0.0.1 37490 127.0.0.1    5672 TCP 66 37490 >
amqp [ACK] Seq=9 Ack=336 Win=33920 Len=0 TSval=187898 TSecr=187898
  8   0.008035    127.0.0.1 37490 127.0.0.1    5672 AMQP 202 Connection.Start-Ok
  9   0.008179    127.0.0.1 5672 127.0.0.1    37490 AMQP 86 Connection.Tune
 10   0.009737    127.0.0.1 37490 127.0.0.1    5672 AMQP 86 Connection.Tune-Ok
 11   0.046865    127.0.0.1 5672 127.0.0.1    37490 TCP 66 amqp >
37490 [ACK] Seq=356 Ack=165 Win=33920 Len=0 TSval=187910 TSecr=187900
 12   0.046876    127.0.0.1 37490 127.0.0.1    5672 AMQP 82 Connection.Open
 13   0.046882    127.0.0.1 5672 127.0.0.1    37490 TCP 66 amqp >
37490 [ACK] Seq=356 Ack=181 Win=33920 Len=0 TSval=187910 TSecr=187910
 14   0.046977    127.0.0.1 5672 127.0.0.1    37490 AMQP 79 Connection.Open-Ok
 15   0.048131    127.0.0.1 37490 127.0.0.1    5672 TCP 66 37490 >
amqp [FIN, ACK] Seq=181 Ack=369 Win=33920 Len=0 TSval=187910
TSecr=187910
 16   0.048208    127.0.0.1 5672 127.0.0.1    37490 TCP 66 amqp >
37490 [RST, ACK] Seq=369 Ack=182 Win=33920 Len=0 TSval=187910
TSecr=187910


More information about the rabbitmq-discuss mailing list