Projects tigase _server server-core Issues #633
tsung cluster stress testing tigase cluster(3 nodes) (#633)
hurry wang opened 9 years ago
Due Date
2016-01-24

Hi,

  • when I used tsung testing tigase cluster ,the logs of tigase show that:*
2016-01-24 13:34:35.007 [jabber:iq:auth Queue Worker 0]  JabberIqAuth.doAuth()  WARNING: Can't authenticate with given CallbackHandler
java.io.IOException: Password verification problem.
	at tigase.auth.impl.AuthRepoPlainCallbackHandler.handleVerifyPasswordCallback(AuthRepoPlainCallbackHandler.java:141)
	at tigase.auth.impl.AuthRepoPlainCallbackHandler.handleCallback(AuthRepoPlainCallbackHandler.java:94)
	at tigase.auth.impl.AuthRepoPlainCallbackHandler.handle(AuthRepoPlainCallbackHandler.java:66)
	at tigase.xmpp.impl.JabberIqAuth.doAuth(JabberIqAuth.java:319)
	at tigase.xmpp.impl.JabberIqAuth.process(JabberIqAuth.java:237)
	at tigase.server.xmppsession.SessionManager$ProcessorWorkerThread.process(SessionManager.java:2440)
	at tigase.util.WorkerThread.run(WorkerThread.java:128)
Caused by: tigase.db.UserNotFoundException: User does not exist: tsunga287399@tig.g.com
	at tigase.db.jdbc.TigaseAuth.plainAuth(TigaseAuth.java:322)
	at tigase.db.jdbc.TigaseAuth.otherAuth(TigaseAuth.java:261)
	at tigase.db.AuthRepositoryMDImpl.otherAuth(AuthRepositoryMDImpl.java:173)
	at tigase.auth.impl.AuthRepoPlainCallbackHandler.handleVerifyPasswordCallback(AuthRepoPlainCallbackHandler.java:134)
	at tigase.auth.impl.AuthRepoPlainCallbackHandler.handleCallback(AuthRepoPlainCallbackHandler.java:94)
	at tigase.auth.impl.AuthRepoPlainCallbackHandler.handle(AuthRepoPlainCallbackHandler.java:66)
	at tigase.xmpp.impl.JabberIqAuth.doAuth(JabberIqAuth.java:319)
	at tigase.xmpp.impl.JabberIqAuth.process(JabberIqAuth.java:237)
	at tigase.server.xmppsession.SessionManager$ProcessorWorkerThread.process(SessionManager.java:244

and the users regeist into mysql is quite slow, I send 360000 users to the tigase cluster,finall the database sucessful regeist nearly 20000-30000 users.I really can't find the reason ,could someone help meļ¼Œthank a lot.

tsung.xml

wojciech.kapcia@tigase.net commented 9 years ago

For the general questions please use our forums instead of submitting issue!

As for the problem:

  • You are running Tigase with extensive debug mode enabled (@--debug=server,xmpp.impl,db,cluster@) which impacts performance;

  • please remove explicit MA JID configuration and use default (@sess-man/plugins-conf/message-archive-xep-0136/component-jid=message-archive@server07@)

  • You should look at Tigase statistics and identify bottlenecks.

hurry wang commented 9 years ago

Thanks for your response, I tried as you suggested me,but the above erro disappear again,could you take a look at my tsung configure file,and give me a hand.

Anoher question,if every tigase node has an independent mysql database ?

Hope you give me some suggestion to improve the performance. Thank you.

wojciech.kapcia@tigase.net commented 9 years ago

This issue has been rejected and closed. No further responses will be made here.

Please follow the suggestion to create forum topic in Forums (https://projects.tigase.org/projects/tigase-server/boards) to receive assistance.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
3860
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#633
Please wait...
Page is in error, reload to recover