[ejabberd] The trouble we encountered in using Ejabberd

anders conbere aconbere at gmail.com
Fri May 23 18:56:22 MSD 2008


2008/5/23 peng tao <peng.tao at gmail.com>:
> Dear Friends,
>
> We developed our Web IM service, based on Ejabberd 2.0.0 on Linux Platform.
> Some troubles happened.
>
> When the service build friends list, the system cannot get response from
> Ejabberd, and we found socket waiting overtime.
>
> The Case detail is:
> 1) we import 6030 users.
> 2) we establish friend list.
> a) if we calculate one friend connection every second,  and we will find we
> establish about 50 friend connections in one minute. However, after 10 hours
> runing, we only establish about 2000 friend connections. In the end, it
> takes one hour for establishing 50 friend connections.
> b) if we calculate the friend connection faster (not limited by one per
> second), we soon find the no-response when 450 friend connections are
> calculated.
>
> Wonder if any one help us on the issues. Attached please find the program
> meeting trouble.

Are you using the built in mnesia database or one of the other
options. In our testing we got to about 10k users per box (with about
200 contacts each) before the disk started thrashing with mnesia.
Switching to MySQL put us at closer to 50k.

~ Anders

>
> Thanks a lot,
> ---------- Forwarded message ----------
> From: jiawei du <djw.poison at gmail.com>
> Date: May 23, 2008 6:44 PM
> Subject: ejabberd遇到的问题
> To: peng.tao at gmail.com
>
> ejabberd遇到的问题
> 在建立朋友关系时,发生ejabberd没有应答,此时socket等待超时的现象。
> 出现该问题的步骤:
>         1. 导入6030个用户
>         2. 建立朋友关系
>            a.
> 如果每计算一个朋友关系间隔1秒,那么刚开始运行时,1分钟可以达到50个关系,但运行10小时后(共计算约2000条关系),大约1小时达到50个关系,速度很慢。
>            b. 如果不间隔1秒,运行关系计算达到450个时就会发生服务器没有应答的现象。
>
> 注:如果服务器没有应答建立关系有时成功有时失败
> 使用ejabberd的版本是2.0.0 linux平台
>
>
>
> --
> Peng Tao, PhD
> NaviPal Inc.
> 260 N. Mathilda Ave. #E6
> Sunnyvale, CA 94086
> USA
> Phone: 408-480-6688
> MSN:peng_tao2000 at yahoo.com
> =======================
> 陶鹏,PhD
> 北京协客网信息技术有限公司
> 知春路49号希格玛公寓A座2001
> 北京市海淀区,100080
> 电话:010-88099773
> 传真:010-88099770
>
>
> --
> Peng Tao, PhD
> NaviPal Inc.
> 260 N. Mathilda Ave. #E6
> Sunnyvale, CA 94086
> USA
> Phone: 408-480-6688
> MSN:peng_tao2000 at yahoo.com
> =======================
> 陶鹏,PhD
> 北京协客网信息技术有限公司
> 知春路49号希格玛公寓A座2001
> 北京市海淀区,100080
> 电话:010-88099773
> 传真:010-88099770
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>


More information about the ejabberd mailing list