Hey guys,
I recently installed ejabberd 2.0.5 on a debian lenny server. Everything works fine except that I cannot log in a single user for more than 5 resources on the same account. Is this a predefined limit ? Can I change this via config file ?
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
Hey guys,
I recently installed ejabberd 2.0.5 on a debian lenny server. Everything works fine except that I cannot log in a single user for more than 5 resources on the same account. Is this a predefined limit ? Can I change this via config file ?
Yes, check the option
Yes, check the option max_user_sessions in the ejabberd Guide:
http://svn.process-one.net/ejabberd/tags/ejabberd-2.0.5/doc/guide.html#c...
Maybe in your ejabberd.cfg it was by default 5. Edit the config file and restart ejabberd.
Thanks for your input.
Thanks for your input. Unfortunately the entry is set to its default value of '10'. Even raising it to '20' made no difference.
Are you sure option is changed? What happens when 6th connects?
Thanks for your input. Unfortunately the entry is set to its default value of '10'. Even raising it to '20' made no difference.
I've tested ejabberd 2.0.5 compiled from source code. I can login more than 5 sessions. Then in the WebAdmin pagehttp://localhost:5280/admin/server/localhost/user/badlop/ I can see:
What happens exactly, when you connect the sixth client?
When I am connected with 10 clients and then connect with another one to resource work11, the oldest session receives this XMPP stanza and the session is closed:
Are you sure the option is 10, or 20? You can go to WebAdminhttp://localhost:5280/admin/access/ and you should see among many other Access rules this one:
First of all, thanks for your
First of all, thanks for your help.
I found out that the issue is not a faulty ejabberd configuration but something else. I don't understand at all why this is happening:
I am using a shell script called "sendxmpp" to connect to my ejabberd server. The first five connections work just fine, but the sixth doesn't work anymore when I don't escape "#" or "!" in my password. I don't know why, but with escaping those characters it works fine up until the max_user_sessions setting.
Thanks again, have a nice day.