Jérôme Sautret | 23 Jul 15:05 2014

[ANN] ejabberd Community 14.07


Two months after the previous huge release, we are keeping the pace
with a new feature packed version. We added major improvements
regarding to SIP support, Carbon copy, stream management and added
Riak as a new supported database.

ejabberd Community 14.07 includes several improvements and many
bugfixes over the previous 14.05 release:


* SIP Outbound (RFC 5626) support
* New option always_record_route
* New options record_route and routes

Carbon Copy (XEP-0280)

* Don’t log MUC messages with hint
* Don’t carbon copy messages with hint
* Let is_carbon_copy/1 recognize carbons
* Don’t send XEP-0280 v1 copies back to sender

Stream Management (XEP-0198)

* XEP-0198: Terminate session if stanza queue becomes too large
* XEP-0198: Don’t exit on socket send failure
* XEP-0198: Don’t drop session on failed resume
* XEP-0198: Check whether routed packets are stanzas

(Continue reading)

Michał Zegan | 16 Jul 18:13 2014

config reloading and acl changes

I have few questions.
One is related to config reloading: does the load_config command reload 
acls properly?
Second question is related:
Is that right that changes in the web panel are never persistent? if so, 
how do you do user banning or giving admin rights without restarting server?
If you can reload config file after changing it it is okay, but I 
believe other admins who do not have config access may want to ban 
someone, they can do it but the changes will disappear.
Vladimir Stafievsky | 10 Jul 10:17 2014

mod_shared_roster and high cpu usage

Hi all!
I have a strange problem:
Load average / CPU usage on server rising abnormally after 50-100 shared 
roster groups added. Tested with db_type mnesia and odbc. I use 
mod_shared_roster with odbc (mysql) right now. There are a lot of 
"select opts from sr_group where name=XXX" queries.
Clients cann't get roster from server or getting it very slow. When i 
truncate sr_group table everything is ok:( Cann't understand what's the 
problem. Please help to find it.

I need to create 200k-300k shared roster groups with millions members - 
is it possible?
Thank you.



Vladimir Stafievsky
Peter Schwindt | 5 Jul 16:14 2014

node name already occupied ctl-ejabberd

Dear list,

is there anything that can be done against upper mentioned notification
that occurs in the logs almost every five minutes? I guess this is a
result of running a few munin checks against our ejabberd, but...? :)

Thanks in advance,


ejabberd 14.05, from git somewhen in June.
Vladimir Stafievsky | 26 Jun 07:48 2014

export_odbc command

Hi all!
I've got an error when trying to export mnesia tables:

ejabberdctl export_odbc HOST /tmp/FILE.sql
Problem 'error undef' occurred executing the command.
Stacktrace: [{mod_caps,export,[<<"HOST">>],[]},

ejabberd 14. Any ways to export mnesia db correctly?



Vladimir Stafievsky
Stuart Cracraft | 20 Jun 00:26 2014

ejabberd load test


I'd like to use a load tester with ejabberd.

So far, I've explored jmeter, tsung, jab_simul, testsuite and another.

These have either had obscure and complex config files, poor doc, or
a lack of basic things like latency and statistics or some combination.

Anyone know of a good, straightforward ejabberd load test with good doc?


ejabberd mailing list
ejabberd <at> jabber.ru
Randy Bush | 19 Jun 22:51 2014

s2s tls exception

i am following http://wiki.xmpp.org/web/Securing_XMPP

it seems some significant xmpp player(s) have not turned on tls for s2s.
i need to be able to configure an exception for tls being required.
clue bat please?

Saravanan Bellan | 14 Jun 00:49 2014

s2s dns srv lookup override

One of the domain we are trying to federate has a s2s dns srv record.
But we are trying to use an alternate server which has the same domain
name for testing purposes. 

Is there some configuration where I can tell ejabberd s2s to 
not use dns srv but to use local hosts file or some other 
host record for a domain. 

I tried to specify customizations and specify the lookup order in the 
/etc/ejabberd/inetrc file, but still s2s seem to use the dns srv record.

This is what I tried for the inetrc file, 
(Is inetrc file even used for s2s lookup?)

{file, hosts, "/etc/hosts"}.
郎咸武 | 12 Jun 03:46 2014

Is the ejabberd Community 14.05 supports Jingle?

Hi list,
   Is the ejabberd Community 14.05 supports Jingle?
   But i can not find any Jingle code in the ejabberd resource.
   Thanks for any idea.


ejabberd mailing list
ejabberd <at> jabber.ru
Regna | 9 Jun 11:23 2014

Ejabberd errors on second node

Hello all.

I have 2 nodes:
1: ejabberd <at> cecilia (cecilia.int.bakka.su)
2: ejabberd <at> iris (iris.int.bakka.su)
Both running ejabberd-2.1.13 with odbc mysql from same packages,
mariadb-10.0.10 (master-master multi-source replicated), same configs
with only difference being ip addrs and node name in ejabberdctl.cfg.

On 2'nd node, when I try to start ejabberd, I get this error:
Endless loop of those.

configs: ejabberd.cfg: http://paste.bakka.su/v/O
	 ejabberdctl.cfg: http://paste.bakka.su/v/E

mnesia:info(): http://paste.bakka.su/v/6I
Randy Bush | 8 Jun 06:06 2014

[error] <0.37.0> <at> ejabberd_config:get_plain_terms_file:169 Unexpected error

rebooted server for first time in some months.  ejabberd starts but dies
in 30 seconds or a minute before i can log in.  this is what is in error.log

 [error] <0.37.0> <at> ejabberd_config:get_plain_terms_file:169 Unexpected error

googled a bit but found little.  clue bat please?

FreeBSD 9.2-STABLE #3 r265167