Dan Le | 7 May 2009 01:47
Picon

ejabberd vs. Tigase

Has anyone worked with both ejabberd and Tigase and could offer insights on how they compare in terms of performance, resources used (CPU, RAM), community support, ease of use, and the like?


We're looking to use an XMPP server where we have a component service that will broadcast messages to upwards of 20k - 30k clients, the clients will only need to send presence messages to the component and will not have any other client on the roster.

I will likely have to conduct some load tests myself; someone mentioned Tsung as a tool that can be used to conduct some tests. Are there any other resources that may be useful to get me started?

Anything that can point me in the right direction would be greatly appreciated.

Dan
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
chris | 11 May 2009 10:51
Picon

Jabber died

Hi list,

 

I am having a few problems and I hope this is the place to ask. I have looked around a bit but can’t find a solution anywhere. I came in this morning (typically has to be on a Monday morning) to notice my jabber server was not running which runs the internal IM system.

 

It was half running this morning, people could logon but everyone would appear offline, I rebooted the server (BSD) and now nobody can logon. I checked /var/log/messages

 

May 11 09:25:44 servername jabberd/c2s[740]: starting up

May 11 09:25:44 servername jabberd/router[737]: starting up

May 11 09:25:44 servername jabberd/sm[738]: starting up

May 11 09:25:44 servername jabberd/sm[738]: id: sub.domain.com

May 11 09:25:44 servername jabberd/s2s[739]: starting up (interval=60, queue=60, keepalive=15, idle=86400)

May 11 09:25:44 servername jabberd/c2s[740]: modules search path undefined, using default: /usr/local/lib/jabberd

May 11 09:25:44 servername jabberd/router[737]: loaded user table (1 users)

May 11 09:25:44 servername jabberd/s2s[739]: attempting connection to router at XX.XXX.XX.XX, port=5347

May 11 09:25:44 servername jabberd/s2s[739]: connection attempt to router failed: Connection refused (61)

May 11 09:25:44 servername jabberd/router[737]: loaded filters (0 rules)

May 11 09:25:44 servername jabberd/router[737]: [0.0.0.0, port=5347] listening for incoming connections

May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to database failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

May 11 09:25:44 servername jabberd/sm[738]: initialisation of storage driver 'mysql' failed

May 11 09:25:44 servername jabberd/sm[738]: failed to initialise one or more storage drivers, aborting

May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to database failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

May 11 09:25:44 servername jabberd/c2s[740]: failed to initialize auth module 'mysql'

May 11 09:25:44 servername jabberd/s2s[739]: shutting down

May 11 09:25:44 servername jabberd/router[737]: shutting down

 

 

 

I did see something strange at 9am though which I am not sure what it means

 

 

May 11 09:01:35 servername jabberd/sm[50735]: initialised storage driver 'mysql'

May 11 09:01:35 servername jabberd/sm[50735]: modules search path undefined, using deafult: /usr/local/lib/jabberd

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-last' added to chain 'sess-end' (order 0 index 0 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'validate' added to chain 'in-sess' (order 0 index 1 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'privacy' added to chain 'in-sess' (order 1 index 2 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'roster' added to chain 'in-sess' (order 2 index 3 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'vacation' added to chain 'in-sess' (order 3 index 4 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-vcard' added to chain 'in-sess' (order 4 index 5 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-private' added to chain 'in-sess' (order 5 index 6 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'disco' added to chain 'in-sess' (order 6 index 7 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'offline' added to chain 'in-sess' (order 7 index 8 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'announce' added to chain 'in-sess' (order 8 index 9 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'presence' added to chain 'in-sess' (order 9 index 10 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'deliver' added to chain 'in-sess' (order 10 index 11 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'session' added to chain 'in-router' (order 0 index 12 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'validate' added to chain 'in-router' (order 1 index 1 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'presence' added to chain 'in-router' (order 2 index 10 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'privacy' added to chain 'in-router' (order 3 index 2 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'privacy' added to chain 'out-router' (order 0 index 2 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-last' added to chain 'pkt-sm' (order 0 index 0 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-time' added to chain 'pkt-sm' (order 1 index 13 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-version' added to chain 'pkt-sm' (order 2 index 14 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'disco' added to chain 'pkt-sm' (order 3 index 7 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'announce' added to chain 'pkt-sm' (order 4 index 9 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'help' added to chain 'pkt-sm' (order 5 index 15 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'echo' added to chain 'pkt-sm' (order 6 index 16 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'roster' added to chain 'pkt-user' (order 0 index 3 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'presence' added to chain 'pkt-user' (order 1 index 10 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-vcard' added to chain 'pkt-user' (order 2 index 5 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'deliver' added to chain 'pkt-user' (order 3 index 11 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'vacation' added to chain 'pkt-user' (order 4 index 4 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'offline' added to chain 'pkt-user' (order 5 index 8 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'disco-publish' added to chain 'pkt-user' (order 6 index 17 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-last' added to chain 'pkt-user' (order 7 index 0 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'session' added to chain 'pkt-router' (order 0 index 12 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'disco' added to chain 'pkt-router' (order 1 index 7 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'active' added to chain 'user-load' (order 0 index 18 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'roster' added to chain 'user-load' (order 1 index 3 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'privacy' added to chain 'user-load' (order 2 index 2 seq 3)

May 11 09:01:35 servername jabberd/sm[50735]: module 'disco-publish' added to chain 'user-load' (order 3 index 17 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'vacation' added to chain 'user-load' (order 4 index 4 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'active' added to chain 'user-create' (order 0 index 18 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'template-roster' added to chain 'user-create' (order 1 index 19 seq 0)

May 11 09:01:35 servername jabberd/sm[50735]: module 'active' added to chain 'user-delete' (order 0 index 18 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'announce' added to chain 'user-delete' (order 1 index 9 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'disco-publish' added to chain 'user-delete' (order 2 index 17 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'offline' added to chain 'user-delete' (order 3 index 8 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: module 'privacy' added to chain 'user-delete' (order 4 index 2 seq 4)

May 11 09:01:35 servername jabberd/sm[50735]: module 'roster' added to chain 'user-delete' (order 5 index 3 seq 3)

May 11 09:01:35 servername jabberd/sm[50735]: module 'vacation' added to chain 'user-delete' (order 6 index 4 seq 3)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-last' added to chain 'user-delete' (order 7 index 0 seq 3)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-private' added to chain 'user-delete' (order 8 index 6 seq 1)

May 11 09:01:35 servername jabberd/sm[50735]: module 'iq-vcard' added to chain 'user-delete' (order 9 index 5 seq 2)

May 11 09:01:35 servername jabberd/sm[50735]: version: jabberd sm 2.2.2

 

Many Thanks

Chris

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
Karim Malhas | 11 May 2009 10:56
Picon

Re: Jabber died


Hey Chris,

> It was half running this morning, people could logon but everyone would
> appear offline, I rebooted the server (BSD) and now nobody can logon. I
> checked /var/log/messages

[snip]

> May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
> 
> May 11 09:25:44 servername jabberd/sm[738]: initialisation of storage
> driver 'mysql' failed
> 
> May 11 09:25:44 servername jabberd/sm[738]: failed to initialise one or
> more storage drivers, aborting
> 
> May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
> 
> May 11 09:25:44 servername jabberd/c2s[740]: failed to initialize auth
> module 'mysql'

Did you check whether your MySQLserver started after you rebooted?

regards,
Karim

Chris Harries | 11 May 2009 11:01
Picon

Re: Jabber died

Thanks you're the reply,

Yes it seams fine, I connected in and did some select statements, all users
are still there. That being said, I do not get a "cannot login message" with
pandion, it just cannot connect, so it's not running (so not listening).
It's so odd, nothing changed as far as I am aware

Chris

-----Original Message-----
From: jadmin-bounces <at> jabber.org [mailto:jadmin-bounces <at> jabber.org] On Behalf
Of Karim Malhas
Sent: 11 May 2009 09:56
To: Jabber/XMPP server administration list
Subject: Re: [jadmin] Jabber died

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hey Chris,

> It was half running this morning, people could logon but everyone would
> appear offline, I rebooted the server (BSD) and now nobody can logon. I
> checked /var/log/messages

[snip]

> May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
> 
> May 11 09:25:44 servername jabberd/sm[738]: initialisation of storage
> driver 'mysql' failed
> 
> May 11 09:25:44 servername jabberd/sm[738]: failed to initialise one or
> more storage drivers, aborting
> 
> May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
> 
> May 11 09:25:44 servername jabberd/c2s[740]: failed to initialize auth
> module 'mysql'

Did you check whether your MySQLserver started after you rebooted?

regards,
Karim

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBCgAGBQJKB+g8AAoJEKX6AibVDljRjrgQAPfOddV3rYDCgOlWMi00N/OA
oAuy6Z5iOEp3/11e5qG/NV8aAf/Zw9BTJtc643pv7do9+BwZfnvz44ksSe3KuEKy
z4yAq0ffBXlV1wkA/xemtmTgkzJyJfyAMl+6R6ogHCdfBG+MmjHiDd+y/3qON2Fq
rZAsL4DpmJ0JpzyGBpKabzjisTkRB8RYQuDkvYG8Ttb3V2etdD8EXCwrZeCnn7cF
OUPInrHd+QO31EkV6Y/ar2wMwGaOtz1BHZCv46a3q+1pfQNaFdSDznB+sHABPuTa
Bz0FTTFbsLrem3HNRjTm+6xQ80j1McuWrQEWLGfEy06CEKRqMyipvBHQXkt0sIKn
vVHoIUVRZkZ3vEa8F7NbGPQgGB1+Phval9l2mfJSIEwkQPiQgbWrZbPX0mMoVqmP
0+PSRsazojXk0TvzsouDVzsqq8Yzog6qzA4QXomb478lPXZ2pgQmqecG555IhvIT
WHlX3cXqreSInuxPxzuZmXkizQuSZ2U1Ku8ezE+uwgYTDGgYpD5LmqjdyI/P59ZX
23E4kDvMmonKlrgmVILuzGfecjJ+78BY/2dlkoA5tds3oPGQ1J3q0BKiwuXzL6cp
A9FFQv7eB78fAQKqUXO3zro9e839jgE3eCyKpf2aTQGS6vlkrpFaKxmbBKvwb06a
qHhmba00WP7JEzIuiIE/
=FonM
-----END PGP SIGNATURE-----
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Karim Malhas | 11 May 2009 11:15
Picon

Re: Jabber died


Hello Chris,

> Yes it seams fine, I connected in and did some select statements, all users
> are still there. That being said, I do not get a "cannot login message" with
> pandion, it just cannot connect, so it's not running (so not listening).

Your problem is that your jabberd cannot connect to the database, as
clearly stated in the logfile :

> May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to
database failed: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
> May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to
database failed: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)

This is the problem. You need to find out why this is happening.
Wrong permissions on /tmp/mysql.sock maybe?

Good luck,
Karim

demuel | 11 May 2009 11:26

Re: Jabber died

I remember this situation before. On the start up script, both the jabberd
daemon as well as the mysql server were loading up. There is a simple
trick with this thing. Just let mysql server run first and create some
time delay. Once done, time for the jabberd to load itself. A simple sh
script will make this work. This is just very plain simple thing.

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hello Chris,
>
>
>> Yes it seams fine, I connected in and did some select statements, all
>> users
>> are still there. That being said, I do not get a "cannot login message"
>> with
>> pandion, it just cannot connect, so it's not running (so not listening).
>
> Your problem is that your jabberd cannot connect to the database, as
> clearly stated in the logfile :
>
>> May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
>> May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
>
>
> This is the problem. You need to find out why this is happening.
> Wrong permissions on /tmp/mysql.sock maybe?
>
> Good luck,
> Karim
>
>
>
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQIcBAEBCgAGBQJKB+zEAAoJEKX6AibVDljRXV4QAPVLOFQgeYTPyV6kOc6iTQe+
> xg/DxEP/a5wp/e8vFduryFCHMk0rmv687S4hf4CBrfBuJ1xZX7VOeIWM58NDy31O
> yblUBEjddedJ4eS3NCXcxRC0l77L3heF8BABWiGw2ZFb44RwfFnegwhYgWBISGAp
> B0lwgnX0s/TfCYZsklyB5N8NVkYaeN/IPPc6w/FBwtWPG5OByocD5aEjeySNTRQw
> k91AAzr/1Ji6/Z7KUuhQ4teRBawKS8sp7OHkD3rF98tEk7JWex3RQ7OgVYpdZyRj
> nXY3AVHAQRUDO/7CbkArAdssQyYwK35gtu/4cW18Wzznx0yUdcgdngQXev35gYbg
> D54eOzFh8RH1sb2+kDidTv+mzvIlHkvqtkxFmyw+zaOfYN+ZrKLznQHWdbd0Hx4B
> wCR5piYU3OxfNZz2KK02rhhJxrDNhSnzzqQJjLnQLnHMxJCq5MFo9IrQ4j8qz72a
> 4N1ioi5MivSYKuEtSL2afCZr5hOqOI7GJdfDdHGXH8Hy3lzdkJFBuJQwypHamAcs
> o4XVtDOj9EXjozpTMx+dM58r8qYWta4JjvgDNLCLEmiGZMWLsbdgFNCw7JgXiaCD
> 2jmytEcvh3f+ZHdWv8lJHPHGXc7v3JPOqVApIKt1kDDM+eIswHMFPCc7wOsmdQua
> i7ALr6do/FsOBQZvRnRT
> =RH0n
> -----END PGP SIGNATURE-----
> _______________________________________________
> JAdmin mailing list
> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
> Info: http://mail.jabber.org/mailman/listinfo/jadmin
> Unsubscribe: JAdmin-unsubscribe <at> jabber.org
> _______________________________________________
>

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Chris Harries | 11 May 2009 12:18
Picon

Re: Jabber died

Aha, you are correct, it cannot connect to the database (Karim) due to it
starting before the DB (demule), it seams to be ok now, however, this
FreeBSD system is a challenge to find where the start up scripts for mysql
and jabber are, they are not in /etc/rc.local like I expected.

Thank you for your assistance and time

Chris

-----Original Message-----
From: jadmin-bounces <at> jabber.org [mailto:jadmin-bounces <at> jabber.org] On Behalf
Of demuel <at> thephinix.org
Sent: 11 May 2009 10:26
To: jadmin <at> jabber.org
Subject: Re: [jadmin] Jabber died

I remember this situation before. On the start up script, both the jabberd
daemon as well as the mysql server were loading up. There is a simple
trick with this thing. Just let mysql server run first and create some
time delay. Once done, time for the jabberd to load itself. A simple sh
script will make this work. This is just very plain simple thing.

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hello Chris,
>
>
>> Yes it seams fine, I connected in and did some select statements, all
>> users
>> are still there. That being said, I do not get a "cannot login message"
>> with
>> pandion, it just cannot connect, so it's not running (so not listening).
>
> Your problem is that your jabberd cannot connect to the database, as
> clearly stated in the logfile :
>
>> May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
>> May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to
> database failed: Can't connect to local MySQL server through socket
> '/tmp/mysql.sock' (2)
>
>
> This is the problem. You need to find out why this is happening.
> Wrong permissions on /tmp/mysql.sock maybe?
>
> Good luck,
> Karim
>
>
>
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQIcBAEBCgAGBQJKB+zEAAoJEKX6AibVDljRXV4QAPVLOFQgeYTPyV6kOc6iTQe+
> xg/DxEP/a5wp/e8vFduryFCHMk0rmv687S4hf4CBrfBuJ1xZX7VOeIWM58NDy31O
> yblUBEjddedJ4eS3NCXcxRC0l77L3heF8BABWiGw2ZFb44RwfFnegwhYgWBISGAp
> B0lwgnX0s/TfCYZsklyB5N8NVkYaeN/IPPc6w/FBwtWPG5OByocD5aEjeySNTRQw
> k91AAzr/1Ji6/Z7KUuhQ4teRBawKS8sp7OHkD3rF98tEk7JWex3RQ7OgVYpdZyRj
> nXY3AVHAQRUDO/7CbkArAdssQyYwK35gtu/4cW18Wzznx0yUdcgdngQXev35gYbg
> D54eOzFh8RH1sb2+kDidTv+mzvIlHkvqtkxFmyw+zaOfYN+ZrKLznQHWdbd0Hx4B
> wCR5piYU3OxfNZz2KK02rhhJxrDNhSnzzqQJjLnQLnHMxJCq5MFo9IrQ4j8qz72a
> 4N1ioi5MivSYKuEtSL2afCZr5hOqOI7GJdfDdHGXH8Hy3lzdkJFBuJQwypHamAcs
> o4XVtDOj9EXjozpTMx+dM58r8qYWta4JjvgDNLCLEmiGZMWLsbdgFNCw7JgXiaCD
> 2jmytEcvh3f+ZHdWv8lJHPHGXc7v3JPOqVApIKt1kDDM+eIswHMFPCc7wOsmdQua
> i7ALr6do/FsOBQZvRnRT
> =RH0n
> -----END PGP SIGNATURE-----
> _______________________________________________
> JAdmin mailing list
> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
> Info: http://mail.jabber.org/mailman/listinfo/jadmin
> Unsubscribe: JAdmin-unsubscribe <at> jabber.org
> _______________________________________________
>

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Ciernik Tomas | 11 May 2009 12:27
Picon

Re: Jabber died

Chris Harries  wrote / napísal(a):
> Aha, you are correct, it cannot connect to the database (Karim) due to it
> starting before the DB (demule), it seams to be ok now, however, this
> FreeBSD system is a challenge to find where the start up scripts for mysql
> and jabber are, they are not in /etc/rc.local like I expected.

They should be in /etc/rc.d/ or /usr/local/etc/rc.d/

Tomas.

Attachment (smime.p7s): application/x-pkcs7-signature, 3625 bytes
_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________
demuel | 11 May 2009 12:31

Re: Jabber died

I've done and correcting this stuff for lots of times already. I wonder if
this is jabber 1.x or jabberd 2.x but i suppose this is the latter one. to
solve that thing, just create a sh script and it will be as stable as
ever.

> Aha, you are correct, it cannot connect to the database (Karim) due to it
> starting before the DB (demule), it seams to be ok now, however, this
> FreeBSD system is a challenge to find where the start up scripts for mysql
> and jabber are, they are not in /etc/rc.local like I expected.
>
> Thank you for your assistance and time
>
> Chris
>
> -----Original Message-----
> From: jadmin-bounces <at> jabber.org [mailto:jadmin-bounces <at> jabber.org] On
> Behalf
> Of demuel <at> thephinix.org
> Sent: 11 May 2009 10:26
> To: jadmin <at> jabber.org
> Subject: Re: [jadmin] Jabber died
>
> I remember this situation before. On the start up script, both the jabberd
> daemon as well as the mysql server were loading up. There is a simple
> trick with this thing. Just let mysql server run first and create some
> time delay. Once done, time for the jabberd to load itself. A simple sh
> script will make this work. This is just very plain simple thing.
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>> Hello Chris,
>>
>>
>>> Yes it seams fine, I connected in and did some select statements, all
>>> users
>>> are still there. That being said, I do not get a "cannot login message"
>>> with
>>> pandion, it just cannot connect, so it's not running (so not
>>> listening).
>>
>> Your problem is that your jabberd cannot connect to the database, as
>> clearly stated in the logfile :
>>
>>> May 11 09:25:44 servername jabberd/sm[738]: mysql: connection to
>> database failed: Can't connect to local MySQL server through socket
>> '/tmp/mysql.sock' (2)
>>> May 11 09:25:44 servername jabberd/c2s[740]: mysql: connection to
>> database failed: Can't connect to local MySQL server through socket
>> '/tmp/mysql.sock' (2)
>>
>>
>> This is the problem. You need to find out why this is happening.
>> Wrong permissions on /tmp/mysql.sock maybe?
>>
>> Good luck,
>> Karim
>>
>>
>>
>>
>>
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2.0.11 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iQIcBAEBCgAGBQJKB+zEAAoJEKX6AibVDljRXV4QAPVLOFQgeYTPyV6kOc6iTQe+
>> xg/DxEP/a5wp/e8vFduryFCHMk0rmv687S4hf4CBrfBuJ1xZX7VOeIWM58NDy31O
>> yblUBEjddedJ4eS3NCXcxRC0l77L3heF8BABWiGw2ZFb44RwfFnegwhYgWBISGAp
>> B0lwgnX0s/TfCYZsklyB5N8NVkYaeN/IPPc6w/FBwtWPG5OByocD5aEjeySNTRQw
>> k91AAzr/1Ji6/Z7KUuhQ4teRBawKS8sp7OHkD3rF98tEk7JWex3RQ7OgVYpdZyRj
>> nXY3AVHAQRUDO/7CbkArAdssQyYwK35gtu/4cW18Wzznx0yUdcgdngQXev35gYbg
>> D54eOzFh8RH1sb2+kDidTv+mzvIlHkvqtkxFmyw+zaOfYN+ZrKLznQHWdbd0Hx4B
>> wCR5piYU3OxfNZz2KK02rhhJxrDNhSnzzqQJjLnQLnHMxJCq5MFo9IrQ4j8qz72a
>> 4N1ioi5MivSYKuEtSL2afCZr5hOqOI7GJdfDdHGXH8Hy3lzdkJFBuJQwypHamAcs
>> o4XVtDOj9EXjozpTMx+dM58r8qYWta4JjvgDNLCLEmiGZMWLsbdgFNCw7JgXiaCD
>> 2jmytEcvh3f+ZHdWv8lJHPHGXc7v3JPOqVApIKt1kDDM+eIswHMFPCc7wOsmdQua
>> i7ALr6do/FsOBQZvRnRT
>> =RH0n
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> JAdmin mailing list
>> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
>> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
>> Info: http://mail.jabber.org/mailman/listinfo/jadmin
>> Unsubscribe: JAdmin-unsubscribe <at> jabber.org
>> _______________________________________________
>>
>
>
> _______________________________________________
> JAdmin mailing list
> FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
> Forum: http://www.jabberforum.org/forumdisplay.php?f=19
> Info: http://mail.jabber.org/mailman/listinfo/jadmin
> Unsubscribe: JAdmin-unsubscribe <at> jabber.org
> _______________________________________________
>
>

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Tomasz Sterna | 23 May 2009 19:38
Gravatar

Re: ejabberd vs. Tigase

Dnia 2009-05-06, śro o godzinie 19:47 -0400, Dan Le pisze:
> Has anyone worked with both ejabberd and Tigase and could offer
> insights on how they compare in terms of performance, resources used
> (CPU, RAM), community support, ease of use, and the like?

I am not aware of any comparison, but have you seen
http://www.tigase.org/content/tigase-load-tests-again-500k-user-connections ?

> We're looking to use an XMPP server where we have a component service
> that will broadcast messages to upwards of 20k - 30k clients, the
> clients will only need to send presence messages to the component and
> will not have any other client on the roster.

There is a large scale Tigase deployment that uses Tigase + Tigase
PubSub for the exact purpose. They are running fine. :-)
(I don't know how much detail I could share.)

> I will likely have to conduct some load tests myself; someone
> mentioned Tsung as a tool that can be used to conduct some tests. Are
> there any other resources that may be useful to get me started?

The test I linked was done with Tsung.
I think Artur would share the tests - just contact him directly:
http://www.tigase.org/contact

--

-- 
Tomasz Sterna
Instant Messaging & EDI Consultant
Open Source Developer
http://tomasz.sterna.tv/  http://www.xiaoka.com/

_______________________________________________
JAdmin mailing list
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=19
Info: http://mail.jabber.org/mailman/listinfo/jadmin
Unsubscribe: JAdmin-unsubscribe <at> jabber.org
_______________________________________________

Gmane