[rabbitmq-discuss] Auto delete Queue disappears while using with direct exchange.

Rohit Patle Rohit.Patel2 at techmahindra.com
Mon Oct 21 14:10:00 BST 2013


Dear Michael,

Please refer the below CRASH REPORT which I got today(Multiple time), After the issue occurred I am losing the queue(Auto Delete) as I reported in my earlier mail as well.

=CRASH REPORT==== 21-Oct-2013::15:46:08 ===
  crasher:
    initial call: tls_connection:init/1
    pid: <0.10552.4>
    registered_name: []
    exception exit: {{case_clause,{error,ebadf}},
                     [{tls_connection,handle_unrecv_data,2,
                                      [{file,"tls_connection.erl"},
                                       {line,3065}]},
                      {tls_connection,terminate,3,
                                      [{file,"tls_connection.erl"},
                                       {line,1160}]},
                      {gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,597}]},
                      {proc_lib,init_p_do_apply,3,
                                [{file,"proc_lib.erl"},{line,239}]}]}
      in function  gen_fsm:terminate/7 (gen_fsm.erl, line 600)
    ancestors: [ssl_connection_sup,ssl_sup,<0.255.0>]
    messages: []
    links: [<0.258.0>,#Port<0.47747>]
    dictionary: [{ssl_manager,ssl_manager}]
    trap_exit: false
    status: running
    heap_size: 2586
    stack_size: 27
    reductions: 599357
  neighbours:

=SUPERVISOR REPORT==== 21-Oct-2013::15:46:08 ===
     Supervisor: {local,ssl_connection_sup}
     Context:    child_terminated
     Reason:     {{case_clause,{error,ebadf}},
                  [{tls_connection,handle_unrecv_data,2,
                                   [{file,"tls_connection.erl"},{line,3065}]},
                   {tls_connection,terminate,3,
                                   [{file,"tls_connection.erl"},{line,1160}]},
                   {gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,597}]},
                   {proc_lib,init_p_do_apply,3,
                             [{file,"proc_lib.erl"},{line,239}]}]}
     Offender:   [{pid,<0.10552.4>},
                  {name,undefined},
                  {mfargs,{tls_connection,start_link,undefined}},
                  {restart_type,temporary},
                  {shutdown,4000},
                  {child_type,worker}]


Looking forward for your prompt reply to over come the issue. My requirement is like, the application should work continuously(24x7x356). Is I should create the queues in particular time interval? But in that case what should be time?

Any further clarification is needed on the issue please let me know.

Thanks & Regards,
ROhit
________________________________
From: Rohit Patle
Sent: Monday, October 21, 2013 4:36 PM
To: Michael Klishin; rabbitmq-discuss at lists.rabbitmq.com
Subject: Auto delete Queue disappears while using with direct exchange.

Hi Michael,

As reported before also I am losing my Auto-delete queues in between(under working condition) all of sudden, For your reference please refer the below Error log. Also the my set-up details are as:

Client library: rabbitmq-c-master Version: 0.3.0
Server library: rabbitmq Version 3.1.5
Erlang Version: R16B01

ERROR REPORT
=============
1.

=INFO REPORT==== 21-Oct-2013::14:50:11 ===
accepting AMQP connection <0.10557.4> (192.168.173.75:34877 -> 192.168.173.16:5671)

=INFO REPORT==== 21-Oct-2013::14:50:11 ===
accepting AMQP connection <0.10580.4> (192.168.173.75:34878 -> 192.168.173.16:5671)

=ERROR REPORT==== 21-Oct-2013::14:50:12 ===
connection <0.10580.4>, channel 7000 - soft error:
{amqp_error,access_refused,
"queue 'zb_17_1382078284' in vhost '/' in exclusive use",
'basic.consume'}


2.

=INFO REPORT==== 21-Oct-2013::15:25:14 ===
accepting AMQP connection <0.12064.4> (192.168.173.15:50121 -> 192.168.173.16:5671)

=INFO REPORT==== 21-Oct-2013::15:25:18 ===
closing AMQP connection <0.12064.4> (192.168.173.15:50121 -> 192.168.173.16:5671)

=ERROR REPORT==== 21-Oct-2013::15:25:33 ===
** State machine <0.1396.4> terminating
** Last message in was {tcp_closed,#Port<0.45602>}
** When State == connection
** Data == {state,server,
{#Ref<0.0.25.243435>,<0.1395.4>},
gen_tcp,tcp,tcp_closed,tcp_error,"localhost",5671,
#Port<0.45602>,
{ssl_options,
[{3,3},{3,2},{3,1},{3,0}],
verify_peer,
{#Fun<tls.3.67090849>,
#Fun<rabbit_networking.0.20617190>},
true,false,undefined,1,
<<"/etc/rabbitmq/ssl/localhost_game_ca_cert.pem">>,
undefined,
<<"/etc/rabbitmq/ssl/localhost_game_ca_key.pem">>,
undefined,undefined,undefined,
<<"/etc/rabbitmq/ssl/hitutopia_game_ca_cert.pem">>,
undefined,undefined,undefined,undefined,undefined,
[<<"�$">>,<<"�(">>,<<"�&">>,<<"�*">>,
<<0,107>>,
<<0,106>>,
<<0,61>>,
<<"�#">>,<<"�'">>,<<"�%">>,<<"�)">>,
<<0,103>>,
<<0,64>>,
<<0,60>>,
<<"�\n">>,
<<192,20>>,
<<0,57>>,
<<0,56>>,
<<192,5>>,
<<192,15>>,
<<0,53>>,
<<"�\b">>,
<<192,18>>,
<<0,22>>,
<<0,19>>,
<<192,3>>,
<<"�\r">>,
<<0,10>>,
<<"�\t">>,
<<192,19>>,
<<0,51>>,
<<0,50>>,
<<192,4>>,
<<192,14>>,
<<0,47>>,
<<192,7>>,
<<192,17>>,
<<0,5>>,
<<0,4>>,
<<0,21>>,
<<192,2>>,
<<"�\f">>,
<<0,9>>],
#Fun<tls.0.67090849>,true,268435456,false,undefined,
undefined,false,undefined,undefined},
{socket_options,binary,0,0,0,once},
{connection_states,
{connection_state,
{security_parameters,
<<0,53>>,
0,7,1,16,256,32,unknown,2,4711,20,0,
<<246,253,112,45,211,102,103,239,231,128,141,
130,96,119,220,109,99,229,34,15,194,193,171,
53,76,61,48,248,155,124,154,79,212,201,187,
247,106,45,1,208,221,43,58,32,248,16,74,247>>,
<<82,100,191,75,237,167,94,130,69,14,124,176,
71,122,171,208,72,106,250,116,34,88,219,204,
186,180,142,74,163,88,20,159>>,
<<82,100,191,75,15,171,22,220,158,26,47,98,2,
131,87,235,92,97,174,241,19,242,8,236,193,
60,86,41,202,199,81,212>>,
undefined},
undefined,
{cipher_state,
<<42,89,27,116,174,97,42,228,208,143,185,124,
212,114,51,134>>,
<<114,109,218,70,135,228,78,3,100,59,114,191,
142,203,99,247,11,103,87,182,182,242,50,150,
226,165,27,78,176,67,58,137>>,
undefined},
<<40,219,55,56,187,200,154,141,179,235,145,137,
197,117,36,113,169,228,235,179>>,
19,true,
<<29,210,209,242,106,233,165,102,5,66,136,179>>,
<<124,4,190,16,192,38,17,85,85,132,246,245>>},
{connection_state,
{security_parameters,undefined,0,undefined,
undefined,undefined,undefined,undefined,
undefined,undefined,undefined,undefined,
undefined,undefined,undefined,
<<82,100,191,75,169,249,93,60,98,65,184,88,
241,244,191,7,72,105,86,27,34,4,57,163,245,
240,32,208,141,55,227,114>>,
undefined},
undefined,undefined,undefined,undefined,true,
undefined,undefined},
{connection_state,
{security_parameters,
<<0,53>>,
0,7,1,16,256,32,unknown,2,4711,20,0,
<<246,253,112,45,211,102,103,239,231,128,141,
130,96,119,220,109,99,229,34,15,194,193,171,
53,76,61,48,248,155,124,154,79,212,201,187,
247,106,45,1,208,221,43,58,32,248,16,74,247>>,
<<82,100,191,75,237,167,94,130,69,14,124,176,
71,122,171,208,72,106,250,116,34,88,219,204,
186,180,142,74,163,88,20,159>>,
<<82,100,191,75,15,171,22,220,158,26,47,98,2,
131,87,235,92,97,174,241,19,242,8,236,193,
60,86,41,202,199,81,212>>,
undefined},
undefined,
{cipher_state,
<<131,155,64,61,233,82,219,106,61,2,178,28,68,
146,20,117>>,
<<22,188,35,150,115,65,61,238,54,83,113,206,
253,1,54,101,113,149,226,69,141,236,225,251,
242,56,197,178,204,13,217,133>>,
undefined},
<<115,170,207,224,202,35,39,176,137,160,41,3,177,
209,206,9,125,201,29,98>>,
325,true,
<<29,210,209,242,106,233,165,102,5,66,136,179>>,
<<124,4,190,16,192,38,17,85,85,132,246,245>>},
{connection_state,
{security_parameters,undefined,0,undefined,
undefined,undefined,undefined,undefined,
undefined,undefined,undefined,undefined,
undefined,undefined,undefined,
<<82,100,191,75,192,176,52,69,6,245,79,86,209,
133,25,231,53,233,74,4,47,57,133,18,165,129,
2,228,19,141,17,169>>,
undefined},
undefined,undefined,undefined,undefined,true,
undefined,undefined}},
[],<<>>,<<>>,
{[],[]},
[],843855,
{session,
<<162,254,66,188,234,225,186,31,188,252,128,55,8,253,
46,225,199,136,113,65,53,255,221,113,51,197,77,79,
137,64,104,223>>,
<<48,130,3,1,48,130,1,233,160,3,2,1,2,2,2,1,107,48,13,
6,9,42,134,72,134,247,13,1,1,5,5,0,48,26,49,24,48,
22,6,3,85,4,3,19,15,72,105,116,85,116,111,112,105,
97,71,97,109,101,67,65,48,30,23,13,49,51,49,48,49,
56,48,54,51,56,48,53,90,23,13,49,54,49,48,49,56,48,
54,51,56,48,53,90,48,60,49,33,48,31,6,3,85,4,3,12,
24,49,51,56,50,48,55,56,50,56,52,46,104,105,116,117,
116,111,112,105,97,46,99,111,109,49,23,48,21,6,3,85,
4,10,12,14,72,105,116,85,116,111,112,105,97,32,73,
78,67,46,48,130,1,34,48,13,6,9,42,134,72,134,247,13,
1,1,1,5,0,3,130,1,15,0,48,130,1,10,2,130,1,1,0,181,
177,93,194,86,105,192,234,109,0,176,132,47,190,34,
117,37,93,72,154,41,46,66,235,10,177,109,153,135,
246,232,50,244,11,117,199,31,133,43,213,203,93,233,
72,231,166,53,162,220,26,143,216,207,138,77,217,110,
101,16,7,177,242,233,38,20,153,36,92,113,150,214,
158,248,122,82,61,169,104,46,90,124,54,10,64,140,
204,71,107,233,111,203,67,29,146,57,177,190,206,218,
7,244,92,58,149,61,138,127,165,206,149,19,174,0,197,
198,190,97,78,51,12,163,211,36,221,45,44,18,180,113,
65,9,146,15,134,94,182,192,60,139,54,243,33,58,159,
57,144,86,209,192,135,65,205,92,98,3,240,157,218,11,
23,115,199,39,178,252,1,95,154,65,25,145,12,214,180,
32,157,230,66,48,180,106,47,124,91,253,32,169,46,
238,251,123,73,212,200,155,149,243,170,105,128,141,
152,240,16,163,119,126,149,246,120,213,168,175,17,
137,30,159,86,190,217,87,206,185,141,234,124,207,93,
166,169,231,234,222,138,124,111,56,148,33,105,18,
121,37,240,108,70,245,236,213,222,101,190,195,104,4,
93,2,3,1,0,1,163,47,48,45,48,9,6,3,85,29,19,4,2,48,
0,48,11,6,3,85,29,15,4,4,3,2,7,128,48,19,6,3,85,29,
37,4,12,48,10,6,8,43,6,1,5,5,7,3,2,48,13,6,9,42,134,
72,134,247,13,1,1,5,5,0,3,130,1,1,0,94,33,152,202,1,
134,78,163,162,34,56,75,64,2,10,43,181,32,149,193,
153,13,179,252,66,185,122,24,211,148,126,141,249,17,
253,42,46,246,76,26,233,1,208,147,109,188,78,135,
152,220,154,37,54,200,236,158,48,138,118,24,218,171,
59,56,175,82,64,58,223,141,175,253,127,58,91,168,
131,151,116,115,160,85,43,14,72,89,45,77,234,52,167,
158,121,15,121,7,116,154,48,218,149,115,100,157,219,
106,218,43,203,78,123,211,133,124,78,31,125,245,55,
176,87,158,36,232,189,62,171,16,117,160,200,109,34,
248,162,250,23,191,189,10,197,140,89,5,86,36,149,
104,243,215,218,191,24,137,129,156,218,58,156,166,
48,135,251,211,227,124,130,9,142,120,113,226,182,36,
228,234,242,104,63,72,132,0,71,140,104,1,64,3,252,
220,207,19,121,242,72,20,77,152,78,195,65,10,179,
243,85,61,198,221,175,159,65,178,72,97,171,122,85,
36,83,132,185,28,61,194,33,79,27,255,16,174,139,48,
104,203,88,174,236,51,147,107,41,198,141,101,131,
146,170,33,241,49,202,205,252,63,152,39>>,
<<48,130,3,74,48,130,2,50,160,3,2,1,2,2,1,28,48,13,6,
9,42,134,72,134,247,13,1,1,5,5,0,48,26,49,24,48,22,
6,3,85,4,3,19,15,72,105,116,85,116,111,112,105,97,
71,97,109,101,67,65,48,30,23,13,49,51,48,56,51,48,
48,52,51,52,52,53,90,23,13,49,54,48,56,51,48,48,52,
51,52,52,53,90,48,57,49,30,48,28,6,3,85,4,3,12,21,
104,117,115,48,48,48,54,46,104,105,116,117,116,111,
112,105,97,46,99,111,109,49,23,48,21,6,3,85,4,10,12,
14,72,105,116,85,116,111,112,105,97,32,73,78,67,46,
48,130,1,34,48,13,6,9,42,134,72,134,247,13,1,1,1,5,
0,3,130,1,15,0,48,130,1,10,2,130,1,1,0,227,199,81,
148,185,13,204,5,182,104,199,150,182,14,168,97,166,
89,1,227,107,201,80,133,135,183,113,99,44,162,130,
213,14,47,179,193,199,192,94,92,106,223,22,151,116,
25,206,173,51,199,114,106,77,84,17,250,98,200,64,39,
215,1,128,149,179,226,45,62,6,247,110,34,131,248,
106,172,106,232,176,37,183,101,237,78,39,218,155,
233,182,23,124,164,22,0,75,79,97,68,184,227,87,163,
198,202,154,195,192,220,84,78,19,33,95,35,123,238,
205,21,241,61,40,101,60,13,137,77,12,133,32,30,48,
107,23,209,213,222,173,165,46,186,148,27,242,180,
111,89,60,233,165,101,20,110,61,224,71,253,153,114,
37,157,17,97,140,204,145,54,147,178,245,158,20,217,
248,77,61,4,236,147,161,116,13,153,218,189,34,120,
134,163,32,92,102,202,79,194,110,81,169,171,93,101,
47,52,225,90,32,130,76,231,198,233,222,27,222,100,
32,192,120,54,202,49,86,22,67,84,170,16,74,75,66,74,
33,93,56,135,185,207,172,234,245,199,202,237,28,91,
239,99,95,211,239,233,147,157,78,204,147,207,2,3,1,
0,1,163,124,48,122,48,9,6,3,85,29,19,4,2,48,0,48,11,
6,3,85,29,15,4,4,3,2,5,32,48,19,6,3,85,29,37,4,12,
48,10,6,8,43,6,1,5,5,7,3,1,48,75,6,3,85,29,17,4,68,
48,66,130,7,104,117,115,48,48,48,54,130,21,104,117,
115,48,48,48,54,46,104,105,116,117,116,111,112,105,
97,46,99,111,109,130,5,103,115,48,48,49,130,19,103,
115,48,48,49,46,104,105,116,117,116,111,112,105,97,
46,99,111,109,135,4,192,168,173,16,48,13,6,9,42,134,
72,134,247,13,1,1,5,5,0,3,130,1,1,0,159,202,168,133,
197,196,230,224,241,177,157,109,2,106,33,162,33,39,
122,187,203,109,100,2,168,187,42,160,148,51,143,217,
213,217,141,20,49,195,145,148,7,131,208,3,11,214,
169,103,61,239,233,153,71,17,250,161,112,64,250,181,
141,28,14,105,202,60,17,242,32,31,134,183,10,124,
198,216,143,55,201,127,130,119,204,158,23,211,59,35,
56,17,105,159,56,111,73,48,237,167,115,179,114,158,
117,182,71,124,56,185,34,129,186,179,174,93,143,205,
7,253,122,237,64,242,157,218,141,237,112,123,20,192,
58,118,75,154,23,73,222,152,26,101,203,9,173,207,
211,17,59,16,45,125,17,9,43,120,181,39,194,55,197,
40,160,46,187,42,138,98,50,66,183,117,102,158,89,
136,60,179,239,208,85,131,234,14,107,254,196,201,
187,139,30,242,67,200,229,14,140,102,186,166,117,
177,157,181,157,238,117,68,239,47,78,248,90,202,242,
138,253,151,100,198,77,51,87,12,144,253,150,39,224,
72,59,113,82,95,16,211,166,167,48,83,230,223,46,141,
43,175,178,37,151,208,144,37,33,9,129,9,236,238>>,
0,
<<0,53>>,
<<246,253,112,45,211,102,103,239,231,128,141,130,96,
119,220,109,99,229,34,15,194,193,171,53,76,61,48,
248,155,124,154,79,212,201,187,247,106,45,1,208,221,
43,58,32,248,16,74,247>>,
undefined,true,63549573283},
856146,ssl_session_cache,
{3,2},
false,rsa,
{md5sha,rsa},
undefined,
{'RSAPrivateKey','two-prime',
28754382929457051820198414803441500303526984249685155049796332097906730799908391206103523814976269005163077203094468431332135580805858819241292376687537373648925411819542786957998645419696941719138056950256895396533739787377057149511954887494217274675549621506852643517986748416002685399278604617064334846409024946047643876477509015842269083038506824483531387521790950615371903618405612939638384148174513598217798820397572316465433643750362451315632350679839305866273135240964574674912564288000457819237789013301382164938895437686379037265560348498246445928914896818541533959358614386333778948754935431058520256844751,
65537,
12192434002573843981743042082683611577196261124471684295570292699829564096596644387543079837257969381944195681779638726799955989059828962691247293220165342880052310436139501453771523834901785456049673689529408825156416908790775304450733392870848586996030462670765035181978634233063744519287625977746933809097928751222375021510082578123347833528558380840789720377211774619166418714520007916454818269202663616301725555071277822872080521648851522128805562777059786975793315502491712351795168167443721855642505435091435585902809399891236425455971666960198331434820081907231394691341092584384950481164779736626296762535457,
178797459419384179454995700555538308131914186433018901241269329994089456568495654410744185600704396568249533309282406294458054155081056281980503994941689784706024237273058477366815049398949382971959972087891015000872408741152042000915238822990361460607165928128696800963536722850492270069661093947129448734847,
160820981589068759737350867185963098753383608018664264101875563102468402957785217837686207176530946888090159278497018106937979486937006759315592493664852792763393054618165144985385922549862128257520764572107365227798852448341119014761517693877911549390040151119450786578129061416407709161499836435669806048433,
27742975187080850830490429512325389556943945585506953426651629105847012891115435703539338440477333547500335752660219259476997004791480558027675131979828851193609113460026117404567530362053744837906235503025218297204198002483713247590018822817476932006565303922070246868153942576966536373932033268968054140175,
3077185573228744445284922829107187174218274325272822789931671515792535168058694526274600665263436034570777724571391133346052249517356706534961212552538648429517599073671042187034407233738607333795123957053613012430531775488956822016737769323022126172011388215874868949890502205108187242145975477826722870817,
5940243877226089632200055074167927978550001243681641033194649041837250183233907132676792362250500180960363898208071035213840058611888614551068534986817267565775946611014238022825481223990165301212819194970907029134085079547357199651397306405068251748337700282212797757930062822944912205571550408060362437081,
asn1_NOVALUE},
{'DHParameter',
179769313486231590770839156793787453197860296048756011706444423684197180216158519368947833795864925541502180565485980503646440548199239100050792877003355816639229553136239076508735759914822574862575007425302077447712589550957937778424442426617334727629299387668709205606050270810842907692932019128194467627007,
2,asn1_NOVALUE},
undefined,undefined,undefined,undefined,undefined,847952,
#Ref<0.0.0.152573>,undefined,<<>>,true,undefined,
undefined,undefined,
{[],[]},
false,true,false,undefined,
{{elliptic_curves,
[{1,3,132,0,39},
{1,3,132,0,38},
{1,3,132,0,35},
{1,3,132,0,36},
{1,3,132,0,37},
{1,3,132,0,34},
{1,3,132,0,16},
{1,3,132,0,17},
{1,3,132,0,10},
{1,2,840,10045,3,1,7},
{1,3,132,0,3},
{1,3,132,0,26},
{1,3,132,0,27},
{1,3,132,0,32},
{1,3,132,0,33},
{1,3,132,0,24},
{1,3,132,0,25},
{1,3,132,0,31},
{1,2,840,10045,3,1,1},
{1,3,132,0,1},
{1,3,132,0,2},
{1,3,132,0,15},
{1,3,132,0,9},
{1,3,132,0,8},
{1,3,132,0,30}]},
undefined}}
** Reason for termination =
** {{case_clause,{error,ebadf}},
[{tls_connection,handle_unrecv_data,2,
[{file,"tls_connection.erl"},{line,3065}]},
{tls_connection,terminate,3,[{file,"tls_connection.erl"},{line,1160}]},
{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,597}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

=WARNING REPORT==== 21-Oct-2013::15:25:33 ===
closing AMQP connection <0.1395.4> (192.168.173.75:34845 -> 192.168.173.16:5671):
connection_closed_abruptly

=INFO REPORT==== 21-Oct-2013::15:30:24 ===
accepting AMQP connection <0.12250.4> (192.168.173.55:51549 -> 192.168.173.16:5671)



It seems from Reason for termination like there is some issue with Erlang file. Please Suggest.

Thanks & Regards,
ROhit
________________________________________
From: Michael Klishin [mklishin at gopivotal.com]
Sent: Monday, October 14, 2013 3:36 AM
To: Rohit Patle
Subject: Re: [rabbitmq-discuss] Auto delete Queue disappears while using with direct exchange.

On oct 14, 2013, at 12:43 a.m., Rohit Patle <Rohit.Patel2 at techmahindra.com> wrote:

> sorry to bother you but I am not getting "default exchange is orthogonal with auto-deletion" what does it mean exactly?

They solve completely different problems and have no effect on each other.

Whether you use the default exchange has nothing to do with your queues
being deleted and vice versa.

--
MK


________________________________

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131021/b2edd367/attachment.htm>


More information about the rabbitmq-discuss mailing list