Hello,
hope someone can help me with following problem.
Problem
My ejabberd servers now are crashing continuously. They work but there are a lot of crashes in the log file like this(See in the bottom of the message).
I increased the max_fsm_queue from 1000 to 10000. But now the queue is crashes on 10000+ size.
I have about 400-500 online users and 80 in a muc (max 100),
My questions:
How can I see what is stored in this queue?
Why this queue only grows?
Thank you.
Crash log
2017-03-13 06:32:02 =CRASH REPORT====
crasher:
initial call: gen:init_it/6
pid: <0.12748.7>
registered_name: []
exception exit: {{process_limit,{max_queue,10002}},[{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,755}]},{p1_fsm,loop,10,[{file,"src/p1_fsm.erl"},{line,433}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
ancestors: [<0.3112.0>,ejabberd_listeners,ejabberd_sup,<0.38.0>]
messages: [dont_ask_offline,{'$gen_event',{xmlstreamelement,{xmlel,<<"iq">>,[{<<"id">>,<<"M9MBT-9">>},{<<"type">>,<<"get">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:roster">>}],[]}]}}},{'$gen_event',{xmlstreamelement,{xmlel,<<"iq">>,[{<<"to">>,<<"youchat">>},{<<"id">>,<<"M9MBT-13">>},{<<"type">>,<<"get">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/disco#info">>},{<<"node">>,<<"http://www.process-one.net/en/ejabberd/#6Gn6eM+iZxr3DC1QxKmhLBQJBIc=">>}],[]}]}}}]
links: []
dictionary: [{'$internal_queue_len',0}]
trap_exit: false
status: running
heap_size: 833026
stack_size: 27
reductions: 5907315
neighbours:
2017-03-13 06:32:56 =CRASH REPORT====
crasher:
initial call: gen:init_it/6
pid: <0.13265.7>
registered_name: []
exception exit: {{process_limit,{max_queue,10009}},[{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,755}]},{p1_fsm,loop,10,[{file,"src/p1_fsm.erl"},{line,433}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
ancestors: [<0.3112.0>,ejabberd_listeners,ejabberd_sup,<0.38.0>]
messages: [dont_ask_offline,dont_ask_offline,{'$gen_event',{xmlstreamelement,{xmlel,<<"iq">>,[{<<"id">>,<<"M9MBT-24">>},{<<"type">>,<<"get">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:roster">>}],[]}]}}},{'$gen_event',{xmlstreamelement,{xmlel,<<"presence">>,[{<<"id">>,<<"M9MBT-25">>}],[{xmlel,<<"priority">>,[],[{xmlcdata,<<"0">>}]},{xmlel,<<"vcard">>,[{<<"xmlns">>,<<"urn:yc:vcard:data">>},{<<"xmlns:n0">>,<<"urn:yc:vcard:data">>},{<<"version">>,<<"93006447-9bf8-43fe-a749-ff2ccb92a552">>}],[]},{xmlel,<<"c">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/caps">>},{<<"hash">>,<<"sha-1">>},{<<"node">>,<<"http://www.igniterealtime.org/projects/smack">>},{<<"ver">>,<<"fbaQeo7c5wC40P8U1ZTn/4kezcs=">>}],[]}]}}},{'$gen_event',{xmlstreamelement,{xmlel,<<"iq">>,[{<<"to">>,<<"b8357809-f2ee-4f8e-9520-0dd19dbe4499@conference.youchat">>},{<<"id">>,<<"M9MBT-26">>},{<<"type">>,<<"get">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/disco#info">>}],[]}]}}}]
links: []
dictionary: [{'$internal_queue_len',5}]
trap_exit: false
status: running
heap_size: 833026
stack_size: 27
reductions: 6192640
neighbours:
2017-03-13 06:35:04 =CRASH REPORT====
crasher:
initial call: gen:init_it/6
pid: <0.13895.7>
registered_name: []
exception exit: {{process_limit,{max_queue,10021}},[{p1_fsm,terminate,8,[{file,"src/p1_fsm.erl"},{line,755}]},{p1_fsm,loop,10,[{file,"src/p1_fsm.erl"},{line,433}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
ancestors: [<0.3112.0>,ejabberd_listeners,ejabberd_sup,<0.38.0>]
messages: [dont_ask_offline,dont_ask_offline,{'$gen_event',{xmlstreamelement,{xmlel,<<"iq">>,[{<<"id">>,<<"M9MBT-49">>},{<<"type">>,<<"get">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"jabber:iq:roster">>}],[]}]}}},{'$gen_event',{xmlstreamelement,{xmlel,<<"iq">>,[{<<"to">>,<<"b8357809-f2ee-4f8e-9520-0dd19dbe4499@conference.youchat">>},{<<"id">>,<<"M9MBT-51">>},{<<"type">>,<<"get">>}],[{xmlel,<<"query">>,[{<<"xmlns">>,<<"http://jabber.org/protocol/disco#info">>}],[]}]}}},{'$gen_event',closed},{'DOWN',#Ref<0.0.6291458.216236>,process,<0.13894.7>,normal}]
links: []
dictionary: [{'$internal_queue_len',17}]
trap_exit: false
status: running
heap_size: 833026
stack_size: 27
reductions: 6223412
neighbours: