[ejabberd] 2.1.0 crash reports, dropped xmpp messages.

Jan Koum jan.koum at gmail.com
Fri Dec 25 04:59:45 MSK 2009


hi there,

we have a server with ~3500 (on average) connections.  lately we see more
and more of these crashes in our logs and they occur a few times an hour at
this point.  we have a strong theory that these crashes cause dropped
messages for our users.  is there anything we can do on our side to debug
this further so we can figure out the problem and fix it?  thanks,

-- yan

=CRASH REPORT==== 24-Dec-2009::17:40:13 ===
  crasher:
    pid: <0.23303.106>
    registered_name: []
    exception exit: {normal,{gen_server,call,[<0.23302.106>,reset_stream]}}
      in function  gen_fsm:terminate/7
    initial call: ejabberd_c2s:init/1
    ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.35.0>]
    messages: [{'$gen_event',closed},

{'DOWN',#Ref<0.0.239.187847>,process,<0.23302.106>,normal}]
    links: [<0.239.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 2584
    stack_size: 23
    reductions: 4130
  neighbours:

=CRASH REPORT==== 24-Dec-2009::16:38:45 ===
  crasher:
    pid: <0.2673.103>
    registered_name: []
    exception exit: {normal,{gen_server,call,[<0.2672.103>,reset_stream]}}
      in function  gen_fsm:terminate/7
    initial call: ejabberd_c2s:init/1
    ancestors: [ejabberd_c2s_sup,ejabberd_sup,<0.35.0>]
    messages: [{'$gen_event',closed},
                  {'DOWN',#Ref<0.0.231.19232>,process,<0.2672.103>,normal}]
    links: [<0.239.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 2584
    stack_size: 23
    reductions: 4129
  neighbours:

and the corresponding ERROR REPORTS look like this:

=ERROR REPORT==== 2009-12-24 17:40:13 ===
** State machine <0.23303.106> terminating
** Last event in was {xmlstreamelement,
                         {xmlelement,"response",
                             [{"xmlns","urn:ietf:params:xml:ns:xmpp-sasl"}],
                             []}}
** When State == wait_for_sasl_response
**      Data  == {state,
                     {socket_state,gen_tcp,#Port<0.3424129>,<0.23302.106>},

ejabberd_socket,#Ref<0.0.239.187847>,false,"3421900648",
                     {sasl_state,"jabber","s.example.net",[],
                         #Fun<ejabberd_c2s.1.89122304>,
                         #Fun<ejabberd_c2s.2.81816722>,
                         #Fun<ejabberd_c2s.3.120984841>,cyrsasl_digest,
                         {state,5,"2158978960","15103682462",[],
                             #Fun<ejabberd_c2s.1.89122304>,
                             #Fun<ejabberd_c2s.3.120984841>,
                             ejabberd_auth_internal,"s.example.net"}},
                     c2s,c2s_shaper,false,true,false,false,
                     [verify_none,
                      {certfile,
                          "/home/example/xmpp_certs/s.example.net.pem"}],
                     false,undefined,[],"s.example.net",[],undefined,
                     {0,nil},
                     {0,nil},
                     {0,nil},
                     {0,nil},
                     undefined,undefined,undefined,false,
                     {userlist,none,[],false},
                     unknown,unknown,
                     {{166,205,137,241},4403},
                     []}
** Reason for termination =
** {normal,{gen_server,call,[<0.23302.106>,reset_stream]}}

=ERROR REPORT==== 2009-12-24 16:38:45 ===
** State machine <0.2673.103> terminating
** Last event in was {xmlstreamelement,
                         {xmlelement,"response",
                             [{"xmlns","urn:ietf:params:xml:ns:xmpp-sasl"}],
                             []}}
** When State == wait_for_sasl_response
**      Data  == {state,
                     {socket_state,gen_tcp,#Port<0.3307886>,<0.2672.103>},
                     ejabberd_socket,#Ref<0.0.231.19232>,false,"610596147",
                     {sasl_state,"jabber","s.example.net",[],
                         #Fun<ejabberd_c2s.1.89122304>,
                         #Fun<ejabberd_c2s.2.81816722>,
                         #Fun<ejabberd_c2s.3.120984841>,cyrsasl_digest,
                         {state,5,"2839093801","447947373477",[],
                             #Fun<ejabberd_c2s.1.89122304>,
                             #Fun<ejabberd_c2s.3.120984841>,
                             ejabberd_auth_internal,"s.example.net"}},
                     c2s,c2s_shaper,false,true,false,false,
                     [verify_none,
                      {certfile,
                          "/home/example/xmpp_certs/s.example.net.pem"}],
                     false,undefined,[],"s.example.net",[],undefined,
                     {0,nil},
                     {0,nil},
                     {0,nil},
                     {0,nil},
                     undefined,undefined,undefined,false,
                     {userlist,none,[],false},
                     unknown,unknown,
                     {{109,180,155,238},49243},
                     []}
** Reason for termination =
** {normal,{gen_server,call,[<0.2672.103>,reset_stream]}}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20091224/75b92cea/attachment.html>


More information about the ejabberd mailing list