hurry wang opened 9 years ago
|
|
Without logs it's hard to tell for sure, but you should take a look at the Tigase statistics (you can utilize Tigase Monitor) for possible bottlenecks. Given that you are both registering and archiving messages it's possible that maybe database is a bottleneck. |
|
Thank you for response me. I use mysql5.6 as database server,here's my tigase log and the configuration of mysql .You said that monitor tigase ,if use http to monite or not? |
|
I use tsung send 500000 users to tigase cluster,but at the end ,only half user regeist on mysql ,I adjust 50user per second to be send to tigase,this must be a slow speed ,can you help to analysis it ,thank you. |
|
You are using excessive debuggin options (i.e. @--debug=server,xmpp.impl,db,cluster@) which will definitely impact performance. Please remove this line. You can monitor the server using the monitor which I linked in previous message - https://projects.tigase.org/projects/tigase-monitor |
|
Thank you for your help ,I finally find the reason of my problem,it is my env of mysql is virtual machine,the speed of IO is not good .But I found another problem ,it is I use tsung send 500000 and 800000 user to tigase cluster ,only half user created in mysql, if I have something wrong of the configuration? |
|
hurry wang wrote:
The main question is whether you are load-testing Tigase XMPP server or your MySQL installation. If you want to load test Tigase server it's better to create user accounts in the database prior to load testing Tigase XMPP Server. This thread is considered closed now. If you have additional questions please user our forums: https://projects.tigase.org/projects/tigase-server/boards |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
3928
|
Spent time |
1h 15m
|
Hi,
when I use tsung cluster test tigase cluster(3nodes),the tigase-console.log shows that :
2016-02-15 12:57:32.449 [message-archive-xep-0136 Queue Worker 3] MessageArchivePlugin.process() WARNING: NotAuthorizedException for packet: from=sess-man@server07, to=sess-man@server07, DATA=vtglimieyhemzlxc, SIZE=157, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
I sent 500000 users to tigase,but only half users created in mysql,I really don't know what to do.
I uploaded my configure files.
how to fix it ? Thanks a lot.
tigase+tsung.zip log+my.cnf.zip