[ejabberd] ejabberd/erlang confusing process mailboxes?

Michael Claßen mclassen at gmx-gmbh.de
Mon Jan 28 18:18:05 MSK 2008


Hi there,

we run into the occasional situation that in the ejabberd.log we see
processes complaining about receiving messages that seem to be intended
for some other process, e.g.

=INFO REPORT==== 2008-01-23 18:07:41 ===
I(<0.23030.69>:ejabberd_service:325): ejabberd_service: terminated:
{function_clause,
                                                                    
[{ejabberd_service,
                                                                       handle_info,
                                                                      
[{#Ref<0.0.207.109065>,
                                                                         {atomic,
                                                                          {{push,
                                                                            {roster,
                                                                            
{"___ at web.de",
                                                                             
"web.de",
                                                                             
{"123",
                                                                              
"___.jabber.gmx.net",
                                                                               []}},
                                                                            
{"___",
                                                                             
"web.de"},
                                                                            
{"___",
                                                                             
"___.jabber.gmx.net",
                                                                              []},
                                                                            
"___",
                                                                             both,
                                                                             none,
                                                                             [],
                                                                             [],
                                                                             []}},
                                                                           none}}},
                                                                       
stream_established,
                                                                        {state,
                                                                        
#Port<0.5327919>,
                                                                        
<0.23031.69>,
                                                                        
"___",
                                                                         gen_tcp,
                                                                        
["___.jabber.gmx.net"],
                                                                        
"___",
                                                                         all}]},
                                                                      {gen_fsm,
                                                                       handle_msg,
                                                                       7},
                                                                      {proc_lib,
                                                                       init_p,
                                                                       5}]}

{push, Roster ...} looks like a message intended for mod_roster_odbc, doesn't it?

Furthermore:

=ERROR REPORT==== 2008-01-23 18:07:41 ===
E(<0.23030.69>:ejabberd_hooks:194): {timeout,
                                     {gen_server,
                                      call,
                                      [<0.343.0>,
                                       {sql_transaction,
                                        #Fun<mod_roster_odbc.6.30644702>},
                                       5000]}}
running hook: {roster_in_subscription,
                  ["___",
                   "web.de",
                   {jid,
                       "___",
                       "___.jabber.gmx.net",
                       [],
                       "___",
                       "___.jabber.gmx.net",
                       []},
                   subscribed,
                   []]}

so this process times out waiting on the message from above.

Anybody experiencing similar effects? How would I debug this?

thanks in advance,
mc




More information about the ejabberd mailing list