[ejabberd] killing a particular s2s connection?

Peter Saint-Andre stpeter at stpeter.im
Thu Sep 13 19:51:09 MSD 2007


Thanks, I'll try that. I assume this is done after attaching an erlang
shell to the existing ejabberd process?

On Thu, Sep 13, 2007 at 05:45:35PM +0200, Pieter Rautenbach wrote:
> Hello
> 
> You can try this:
> mnesia:transaction(fun() ->
>   mnesia:delete({s2s,{"jabber.org","jaiku.com"}})
> end).
> 
> This will delete the session and a new one will be created when the
> next remote domain packet needs to be sent.
> 
> Pieter
> 
> > -----Original Message-----
> > From: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] On Behalf
> > Of Peter Saint-Andre
> > Sent: 12 September 2007 06:36 PM
> > To: ejabberd at jabber.ru
> > Subject: [ejabberd] killing a particular s2s connection?
> >
> > Is it possible to manually kill a particular s2s connection? I think that
> > the Openfire server has this feature, and it might be helpful in certain
> > situations -- like right now when I want to debug the s2s connection from
> > jabber.org to jaiku.com... :)
> >
> > /psa



More information about the ejabberd mailing list