ejabberd - Comments for "http_bind and high load" https://www.ejabberd.im/node/2885 en The termination is done in https://www.ejabberd.im/node/2885#comment-51968 <p>The termination is done in the file ejabberd_http_bind.erl in the function clause that starts with:</p> <pre>handle_sync_event({http_put, Rid, Attrs, Payload, Hold, StreamTo}, _From, StateName, StateData) -&gt;</pre><p> Unfortunately, this function is very large (177 lines of code), so it is difficult to know the exact reason of {badmatch,[]} without some debugging.</p> <p>A simple way to debug the code would be to add lines like this in that function:</p> <pre> ?INFO_MSG("we are here 1 ~n, []),</pre><p>And check up to which one gets executed.</p> Sun, 09 Mar 2008 19:03:49 +0000 mfoss comment 51968 at https://www.ejabberd.im