Re: ejabberd & JIT
Дмитрий Сиваченко <mitya <at> cavia.pp.ru>
2004-02-11 06:34:31 GMT
On Sun, Feb 08, 2004 at 09:04:02AM +0300, Sergei Golovan wrote:
> On Sat, Feb 07, 2004 at 10:39:10PM +0300, Дмитрий Сиваченко wrote:
> > Добрый день!
> >
> > Пожалуйста, подскажите, что надо написать в конфиг
ejabberd, чтобы
> > заработал ICQ-транспорт (JIT).
>
> 1) This mailing list is read by not only russians, so, use English, please.
>
> 2) I have in my ejabberd.cfg the following (in tuple listen):
>
> {16385, ejabberd_service, [{access, icq},
> {hosts, ["icq.nes.ru"], [{password, "xxxx"}]}]}
>
> ejabberd listens for JIT at port 16385, uses acl icq, have hostname icq.nes.ru
> and secret xxxx
>
> Corresponding service section in JIT config:
>
> <service id="jitlinker">
> <host>nes.ru</host>
> <uplink/>
> <connect>
> <ip>127.0.0.1</ip>
> <port>16385</port>
> <secret>xxxx</secret>
> </connect>
> </service>
>
Thanks, that helps. The only problem remains: after JIT establishes connection
to ejabberd (it produces the following output
=INFO REPORT==== 10-Feb-2004::12:10:24 ===
I(<0.239.0>:ejabberd_listener:64): (#Port<0.286>) Accepted connection {{127,0,
0,1},4204} -> {{127,0,0,1},8888} ),
beam and jabberd processes eat 100% CPU. top(1) shows the following:
48441 mitya 64 0 12960K 8632K RUN 1:49 67.20% 67.19% beam
48439 mitya 2 0 5404K 3044K poll 0:48 27.64% 27.64% jabberd
I use FreeBSD-STABLE, ejabberd and JIT from CVS.
If I use jabberd from jabber.org instead of ejabberd, all works without any
problems.
Any help would be greatly appreciated.