Home
ejabberd
ejabberd@conference.jabber.ru
Среда, 11 ноября 2009< ^ >
badlop установил(а) тему: www.ejabberd.im english room | if s2s fails in 2.1.0-rc2 see https://support.process-one.net/browse/EJAB-1085
Конфигурация комнаты

GMT+3
[00:00:39] <skupko> how to check how much messages are in queue /being processed/? (jabber and transport messages)
[00:02:41] <skupko> this is our ICQ shaper definition
{shaper, icq, {maxrate, 20480}}.
[00:14:51] deryni вышел(а) из комнаты
[00:14:52] misha вышел(а) из комнаты
[00:21:02] von.dirkhaem вышел(а) из комнаты
[00:38:34] <skupko> now everything looks like before 10AM CET today
I left pyICQt stopped for cca 20 minutes and start it again - I will implement traffic monitoring for transports and will see
[01:06:08] deryni вошёл(а) в комнату
[01:06:58] Nix вошёл(а) в комнату
[01:08:55] Lubagov_H вышел(а) из комнаты
[01:11:23] <skupko> anybody who knows how message queueing works?
[01:11:56] Nix вышел(а) из комнаты
[01:15:48] Nix вошёл(а) в комнату
[01:20:16] Nix вышел(а) из комнаты
[01:21:53] Nix вошёл(а) в комнату
[01:22:35] Nix вышел(а) из комнаты
[01:23:20] darren.ferguson вошёл(а) в комнату
[01:24:50] darren.ferguson вышел(а) из комнаты
[01:33:21] kostix вышел(а) из комнаты
[01:42:28] gsoto вышел(а) из комнаты: I'm happy Miranda IM user. Get it at http://miranda-im.org/.
[02:02:42] Nix вошёл(а) в комнату
[02:08:48] Nix вышел(а) из комнаты
[02:09:06] js вышел(а) из комнаты
[02:12:31] skupko вышел(а) из комнаты
[02:48:19] javajox вышел(а) из комнаты
[02:48:31] javajox вошёл(а) в комнату
[02:49:24] Gene Jannece вышел(а) из комнаты
[02:52:32] Davedan вошёл(а) в комнату
[02:52:47] Davedan вышел(а) из комнаты
[03:02:46] badlop вышел(а) из комнаты
[03:13:34] shantanu.pavgi вышел(а) из комнаты
[03:18:16] kostix вошёл(а) в комнату
[03:30:56] Nix вошёл(а) в комнату
[03:55:43] Nix вышел(а) из комнаты
[04:38:27] javajox вышел(а) из комнаты
[04:38:38] javajox вошёл(а) в комнату
[05:13:43] skyrider вышел(а) из комнаты
[05:20:21] ivan101 вошёл(а) в комнату
[05:47:38] ivan101 вышел(а) из комнаты
[06:43:31] javajox вышел(а) из комнаты
[06:43:44] javajox вошёл(а) в комнату
[07:33:49] javajox вышел(а) из комнаты
[07:33:58] javajox вошёл(а) в комнату
[07:44:51] deryni вышел(а) из комнаты
[08:02:05] accessdenied5k вошёл(а) в комнату
[08:33:21] javajox вышел(а) из комнаты: Replaced by new connection
[08:33:22] javajox вошёл(а) в комнату
[08:33:47] javajox вышел(а) из комнаты
[08:33:56] javajox вошёл(а) в комнату
[09:50:50] res вошёл(а) в комнату
[10:41:17] rion вошёл(а) в комнату
[10:43:14] <rion> Hi. i'm trying to compile ejabberd from svn, but got "exmpp not found" during configure. what does this mean?
[10:44:24] <rion> erlang-13.2.2
[10:47:56] <rion> i guess i should install exmpp library separatelly. right ? never need this before though..
[10:49:43] <res> I seem you need erlang-r12b5
[10:52:16] <res> that ejabberd can be compiled with erlang-r13 false
[11:05:47] rion вышел(а) из комнаты: Replaced by new connection
[11:05:48] rion вошёл(а) в комнату
[11:07:04] <rion> but being already compiled ejabberd works fine with erlang-r13 =) wierd thing =)
[11:07:15] <rion> ok gotta downgrade erlang
[11:20:43] <rion> haha same thing with r12 =)
[11:25:50] <rion> judging by svn logs ejabberd already supports erlang-r13. gotta upgrade it again and install exmpp library :-)
[11:30:01] ckone вошёл(а) в комнату
[11:57:28] badlop вошёл(а) в комнату
[11:57:46] Paco вышел(а) из комнаты
[12:12:40] res вышел(а) из комнаты
[12:16:45] <badlop> rion: ejabberd trunk is in heavy development; you may prefer to run the 2.1.x branch
[12:38:48] kbateman вошёл(а) в комнату
[13:00:39] skupko вошёл(а) в комнату
[13:10:26] <rion> badlop: i see. i'd better stay on current installation then
[13:11:14] <rion> btw are you going to fix big cpu/memory consumption with PEP ?
[13:11:55] <rion> i heard its a reason why pep is disabled on jabber.ru and on jabbus.org
[13:12:17] scippio вышел(а) из комнаты
[13:18:59] <rion> and what about exmpp? version from HEAD fails on configure too with quite strange error
[13:20:01] <rion> configure:12738: $ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5 ; echo "#!/bin/sh" > conftest$ac_exeext
; AS_ECHO(["\"$ERL\" -run conftest start -run init stop -noshell"]) >> conftest$ac_exeext ; chmod +x co
nftest$ac_exeext
./configure: eval: line 12740: syntax error near unexpected token `["\"$ERL\" -run conftest start -run
init stop -noshell"]'
./configure: eval: line 12740: `$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5 ; echo "#!/bin/sh" > conf
test$ac_exeext ; AS_ECHO(["\"$ERL\" -run conftest start -run init stop -noshell"]) >> conftest$ac_exeex
t ; chmod +x conftest$ac_exeext'
configure:12742: $? = 1
[13:20:45] <kostix> pep is disabled on jabber.ru because it once managed to coredump one of its nodes, rion
[13:20:57] rion should update ebuild for ejabberd from svn in any case..
[13:21:57] <rion> kostix: i see. thx for info.
[13:23:00] <badlop> fails on configure too <--- you mean it fails for you; in my case it works
[13:23:07] <kbateman> Currently running pep on buddycloud. Although looking to move away from pep because google accounts can't use it.
[13:23:32] <rion> badlop: for me..
[13:24:10] <badlop> see readme, maybe you have problematic autoconf version
[13:25:02] <rion> oh.. i used gentoo's eautoreconf. i hate autotools..
[13:29:29] Lubagov_H вошёл(а) в комнату
[13:31:25] kostix вышел(а) из комнаты
[14:04:23] Muelli вошёл(а) в комнату
[14:06:21] <Muelli> erm *cough* Might be a stupid question but do I need ejabberd_s2s_out in order to have outgoing s2s traffic?
[14:09:23] <rion> badlop: you are right. i have old 2.63 version of autoconf and i was too lazy to read README whole. just reconfigured with 2.64 w/o any problem =)
[14:14:19] <badlop> s2s_out in listen? no
[14:17:26] <Muelli> hm badlop. Does it take me anything else than whats in http://dpaste.com/119067/ to do outgoing connections?
incoming seems to work wonderful. Outgoing makes my client display "remote-server-not-found"
[14:19:40] <badlop> ejabberd.cfg.example has s2s enabled
[14:20:39] <badlop> outgoing fail to all servers?
[14:22:35] <Muelli> badlop: hm. don't really know. Have tested with one server so far. Don't really have other jabber accounts. But people using our server which have buddies from other servers on their roster complain that it doesn't work. So I assume that all outgoing doesn't work.
[14:23:42] <badlop> those reason don't lead to assume that
[14:23:51] <badlop> better check yourself
[14:24:21] <badlop> try to discover jabber.org, jabber.ru, jabberes.org, prosody.im
[14:24:46] <badlop> and amessage.de
[14:26:05] <Muelli> oh, good method. haven't thought of that.
None of them works. It fails quickly for all of them except for jabberes.org. It takes a while longer to fail there.
[14:26:56] <badlop> what is that server name?
[14:27:01] <Muelli> jabber.mafiasi.de
[14:27:59] <rion> exmpp does not understand INSTALL_ROOT :(
[14:29:58] <Muelli> I can't really see a big difference of our config file to the vanilla one. Except that we try to use TLS. But even with s2s TLS turned off it doesn't work.
[14:30:37] <badlop> how do you turn tls off: setting the option to false?
[14:30:59] <Muelli> badlop: yes.
[14:31:15] <Muelli> {s2s_use_starttls, false}.
[14:31:17] <badlop> ok, set to false and restart; i'll try to connect
[14:31:26] <Muelli> well, incoming works :)
[14:31:47] <Muelli> apparently even with TLS. It's a properly signed certificate anyway. But I'll set to false.
[14:32:18] <Muelli> There is no other way besides restarting the whole server? (Thus kicking all currently logged on users)
[14:32:28] <badlop> incoming works <-- that is another claim that i don't assume: it must be verified
[14:32:39] <Muelli> badlop: I have written messages to myself :)
[14:33:16] <Muelli> yep. works. I mean, writing message to my account on jabber.mafiasi.de from a different server is a good proof, no?
[14:34:37] <badlop> i try from jabberes.org and fails; also from my testserver fails:
=INFO REPORT==== 11-Nov-2009::12:33:23 ===
I(<0.624.0>:ejabberd_s2s:368) : New s2s connection started <0.634.0>
=INFO REPORT==== 11-Nov-2009::12:33:23 ===
I(<0.634.0>:ejabberd_s2s_out:1139) : Trying to open s2s connection: 81.113.89.152 -> jabber.mafiasi.de
=INFO REPORT==== 11-Nov-2009::12:33:41 ===
I(<0.634.0>:ejabberd_s2s_out:412) : wait for validation: 81.113.89.152 -> jabber.mafiasi.de (closed)
[14:34:48] <Muelli> anyway. restarted the server with {s2s_use_starttls, false}.
Now not even incoming works anymore. Let alone outgoing.
[14:35:42] <Muelli> I'll reenable STARTTLS in order to get at least incoming working.
[14:36:29] <skupko> Muelli: is there any packet filtering enabled on the server?
[14:37:12] <Muelli> k badlop. Now it should work. At least I can write myself messages again.
[14:37:54] <Muelli> skupko. Hm. Definitely not on the machine itself. Maybe stuff is filtered on network level. Do you know what to test for?
[14:38:32] <Muelli> =INFO REPORT==== 2009-11-11 12:38:09 ===
I(<0.13201.30>:ejabberd_s2s:368) : New s2s connection started <0.13376.30>
=INFO REPORT==== 2009-11-11 12:38:09 ===
I(<0.13376.30>:ejabberd_s2s_out:1140) : Trying to open s2s connection: jabber.mafiasi.de -> jabber.ccc.de
=INFO REPORT==== 2009-11-11 12:38:09 ===
I(<0.13376.30>:ejabberd_s2s_out:227) : s2s connection: jabber.mafiasi.de -> jabber.ccc.de (remote server not found)
=INFO REPORT==== 2009-11-11 12:38:18 ===
I(<0.13376.30>:ejabberd_s2s_out:834) : Reconnect delay expired: Will now retry to connect to jabber.ccc.de when needed.
*thinking*
[14:38:47] <Muelli> how does ejabberd test for the remote server?
[14:38:48] <skupko> you have to allow outgoing connections:
<your-ext-ip>:1024-65535 -> <any-ip>:5269
yes you can test it - login to the server and try from the command line "telnet jabber.ru 5269"
[14:39:31] <Muelli> muelli@fs:~$ telnet jabber.ru 5269
Trying 77.88.57.177...
Connected to jabber.ru.
Escape character is '^]'.
sdf
<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:server' xmlns:db='jabber:server:dialback' id='4223240107'><stream:error><xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>Connection closed by foreign host.
muelli@fs:~$
:)
[14:39:43] <skupko> is the name resolution working? try "host www.jabber.ru"
[14:40:15] <Muelli> yep, obviously. telnet worked at least :)
[14:40:17] <skupko> strange
[14:40:27] <badlop> my testserver connects to yours, they negotiate tls, then your server doesn't answer
[14:40:53] <badlop> so xmpp s2s works initially, something happens later
[14:41:00] <badlop> what ejabberd version is that?
[14:41:32] <Muelli> *sigh*
$ ./sbin/ejabberdctl --version
Error: command "--version" not known.
How do I determine?
[14:42:28] <badlop> you don't know what version you installed? see the supermarket receipt, or the box envelope :P
[14:43:28] <Muelli> heh. I'm just the poor guy that must keep this stuff up and running :-\
Also I'd prefer to just do a --version on the binary to not keep unused boxes around ;-)
[14:44:06] <badlop> try just ejabberdctl
[14:44:57] <Muelli> status works:
ejabberd 2.1.0 is running in that node
[14:45:28] <badlop> ok, that's probably 2.1.0-rc2
[14:45:59] <badlop> and what erlang?
[14:46:12] <Muelli> I know that it didn't come through the package manager but that some smart guy, in his infitnite wisdom, installed it from source.
[14:46:25] <Muelli> Erlang (BEAM) emulator version 5.6.3 [source] [smp:2] [async-threads:0] [kernel-poll:true]
is that what you're looking for?
[14:46:36] <badlop> ok, that is R12B-3
[14:46:45] <Muelli> $ erl --version
Erlang (BEAM) emulator version 5.6.3 [source] [smp:2] [async-threads:0] [kernel-poll:false]
that works properly :-) --version as expected
[14:46:51] <badlop> see https://support.process-one.net/browse/EJAB-1085
[14:47:08] <Muelli> oh
[14:47:37] <Muelli> wow.
[14:51:18] <Muelli> *try*
[14:53:45] <javajox> hello, is it possible to see the room list in the ejabberd web ui ?
[14:54:31] <badlop> check the contributed mod_muc_admin
[14:55:56] <badlop> Muelli: still same problem, did you remove that line, compiled and installed in the correct place?
[14:56:20] <Muelli> badlop: Work in Progress :)
[14:56:28] <badlop> ah
[15:09:31] <javajox> badlop, is there a standard procedure to receive code from the community
[15:09:32] <javajox> ?
[15:10:30] <badlop> who receives?
[15:10:54] <javajox> you, the ejabberd team
[15:11:33] <Muelli> thanks man! I owe you a beer! :)
[15:11:44] <Muelli> badlop: everything works as expected now.
[15:13:12] <badlop> it depends on the code: a bug patch, feature, improvement: bugtracker. a new module: you can host in your server/googlecode/surceforge/... or request hosting in ejabberd-modules SVN;
[15:14:57] <badlop> Muelli: good
[15:20:12] <skupko> hi all,
[15:20:35] <skupko> I would like to discuss my yesterdays 'issue' with ejabberd and pyicqt
[15:22:25] <badlop> is the issue related to pyicqt?
[15:22:31] <skupko> memory consumption of our ejabberd server was very high yesterday - till I stopped pyicqt
[15:22:35] <skupko> I do not know
[15:23:14] <skupko> I think that root cause was that ejabberd was caching ICQ messages
[15:23:34] <badlop> caching them as offline_msg?
[15:24:23] <skupko> because just after I stopped pyicqt - the issue was stopped and the amount of memory of ejabberd went down for approx. +300M
[15:24:48] <skupko> not as offline_msg
[15:26:17] <skupko> my opinion is that some ICQ account registered on icq.jabber.sk sent a lot of data to other ICQ account and the shaping for icq transport configured on ejabberd caused that it was not able to deliver them in time
[15:26:47] <skupko> I hope it is understandable
[15:28:40] <skupko> we have this shaper for icq configured
{shaper, icq, {maxrate, 20480}}.
[15:30:02] <skupko> could that be a reason of such fashion?
[15:30:59] <badlop> messages generated faster than they can be delivered --> buffer grows up to infinite, until machine breaks
[15:32:06] <skupko> yep - is there any way how to check how many messages are waiting in queue/buffer for being processed?
[15:32:26] <skupko> or just how much data...
[15:32:29] <badlop> that maxrate is 20 KB/s per account, does a desktop user really need so much traffic?
[15:34:51] <skupko> isn't that for the whole icq trnasport?
[15:36:28] <badlop> umm
[15:36:44] <skupko> and right now I am reading that it is valuable only for incoming traffic...what about outgoing traffic limitation? looks like that is not possible.
[15:37:47] <skupko> I thought that it is for the whole ICQ traffic because there is only one connection between ejabberd and ICQ transport...
[15:37:49] <badlop> it seems default config sets maxrate 1000 in ejabberd_c2s: obviously that's 1KB/s per connection, not for all c2s connections
[15:38:18] <badlop> but i don't know in case of transports, as you point
[15:39:12] <skupko> this is our config:
%% ICQ Transport
{5346, ejabberd_service, [
{host, "icq.jabber.sk",
[{password, "icqs3cr3t"}]},
{ip, {127, 0, 0, 1}},
{access, all},
{shaper_rule, icq}
]},
...
{shaper, icq, {maxrate, 20480}}.
[15:40:26] <skupko> and there is everytime only one connection ESTABLISHED
jabber:/etc/munin/plugins# netstat -ntp | grep 5346
tcp 0 0 127.0.0.1:49642 127.0.0.1:5346 ESTABLISHED 21796/python
tcp 0 0 127.0.0.1:5346 127.0.0.1:49642 ESTABLISHED 30341/beam.smp
[15:41:27] <badlop> yes, it makes sense that this rate is for all the embedded traffic handled by that transport connection; so now you can try to increase it a lot
[15:43:10] <javajox> badlop, yet another question: the ejabberd "clustering property" is based on the mnesia built in "clustering property", you didn't designed any specific code for clustering, right ? or I'm missing something ?
[15:44:48] <skupko> javajox: I think that this clustering is based on the erlang...
[15:45:41] <badlop> right, ejabberd lets mnesia clustering work, and benefits from it
[15:46:12] <javajox> "erlang clustering" <- non sense
[15:46:19] <skupko> badlop: - sounds that queueing/buffering like the possible root cause of the yesterday's issue?
[15:46:32] <javajox> badlop, thx for the info, you helped me alot
[15:47:49] <skupko> javajox: read this: http://www.erlang.org/doc/reference_manual/distributed.html
[15:48:38] rion вышел(а) из комнаты
[15:49:11] <skupko> for me it looks like it is erlang design, but anyway I am still not very familiar with erlang ;-)
[15:50:47] <badlop> skupko: yes, it sounds like that; now it would be nice to know numbers of queues/buffers, or identify the top-traffic accounts
[15:52:37] <skupko> yep - do you have any opinion how to do that?
how to check the amount of data/messages waiting in queue?
is there any description how ejabberd queues messages?
[16:21:07] <javajox> skupko, i don't see ways how to build cluster systems with erlang only
[16:47:41] Muelli вышел(а) из комнаты
[16:56:52] Muelli вошёл(а) в комнату
[17:32:22] kbateman вышел(а) из комнаты
[17:33:10] kbateman вошёл(а) в комнату
[17:35:29] res вошёл(а) в комнату
[17:40:07] javajox вышел(а) из комнаты
[17:41:04] javajox вошёл(а) в комнату
[17:50:48] <skupko> javajox: I am thinking about the ejabberd clustering like this:
erlang gives ejabberd distribution 'subsystem' and ejabberd is using this (including epmd, nodes, cookie and other things described on the mentioned page) for 'clustering'
the only changes in ejabberd configuration regarding the clustering are options for special load-balancing algorithm
and after that you can make your storage subsystem (in this case mnesia) fault tolerant
but in general ejabberd uses erlang distribution
have a look on this: http://www.erlang.org/doc/design_principles/part_frame.html
[17:51:08] shantanu.pavgi вошёл(а) в комнату
[17:53:50] res вышел(а) из комнаты
[17:54:29] <skupko> anybody from developers who agree/disagree?
[18:11:34] js вошёл(а) в комнату
[18:18:49] Sérgio вошёл(а) в комнату
[18:20:24] js вышел(а) из комнаты
[18:22:06] js вошёл(а) в комнату
[18:39:16] ckone вышел(а) из комнаты
[18:39:23] ckone вошёл(а) в комнату
[18:58:13] Gene Jannece вошёл(а) в комнату
[19:01:14] x-zibit вошёл(а) в комнату
[19:08:13] x-zibit вышел(а) из комнаты
[19:28:10] deryni вошёл(а) в комнату
[19:33:23] js вышел(а) из комнаты
[19:34:29] tsaitgaist вошёл(а) в комнату
[19:34:44] js вошёл(а) в комнату
[19:35:02] js вышел(а) из комнаты
[19:36:04] js вошёл(а) в комнату
[19:36:34] <tsaitgaist> I'm trying to offer an icq transport. While it works well for the local user, the external user have the error "service did not respond". This is also true for IRC. I added {access,all}, with no effect. What should I do ?
[19:38:44] skyrider вошёл(а) в комнату
[19:47:01] ckone вышел(а) из комнаты
[19:52:44] skupko вышел(а) из комнаты
[20:01:16] skyrider вышел(а) из комнаты
[20:02:44] bjc вошёл(а) в комнату
[20:03:09] bjc вышел(а) из комнаты
[20:03:21] bjc вошёл(а) в комнату
[20:08:00] tsaitgaist вышел(а) из комнаты: offline
[20:08:28] accessdenied5k вышел(а) из комнаты
[20:08:49] javajox_home вошёл(а) в комнату
[20:10:41] accessdenied5k вошёл(а) в комнату
[20:28:58] Muelli вышел(а) из комнаты: offline
[20:31:32] kbateman вышел(а) из комнаты
[20:32:18] kbateman вошёл(а) в комнату
[20:36:43] bjc вышел(а) из комнаты
[20:38:28] bjc вошёл(а) в комнату
[20:46:35] misha вошёл(а) в комнату
[21:03:30] javajox_home вышел(а) из комнаты
[21:03:50] kbateman вышел(а) из комнаты
[21:04:31] javajox_home вошёл(а) в комнату
[21:04:50] kbateman вошёл(а) в комнату
[21:11:53] skyrider вошёл(а) в комнату
[21:15:53] skyrider вышел(а) из комнаты
[21:45:47] Билјана Марковиќ вошёл(а) в комнату
[21:48:07] Билјана Марковиќ вышел(а) из комнаты
[21:51:07] misha вышел(а) из комнаты
[21:51:27] accessdenied5k вышел(а) из комнаты
[21:51:36] misha вошёл(а) в комнату
[21:56:54] dk_brest вышел(а) из комнаты: Replaced by new connection
[21:57:11] dk_brest вошёл(а) в комнату
[22:17:49] kbateman вышел(а) из комнаты
[22:31:27] javajox вышел(а) из комнаты
[22:32:22] javajox вошёл(а) в комнату
[22:39:31] Sérgio вышел(а) из комнаты
[23:34:34] kostix вошёл(а) в комнату
[23:52:28] javajox_home вышел(а) из комнаты
[23:54:47] Lubagov_H вышел(а) из комнаты
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!