Projects tigase _server server-core Issues #640
tigase cluster about authorized (#640)
hurry wang opened 9 years ago

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

wojciech.kapcia@tigase.net commented 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.

hurry wang commented 9 years ago

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?

hurry wang commented 9 years ago

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.

wojciech.kapcia@tigase.net commented 9 years ago

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

hurry wang commented 9 years ago

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?

wojciech.kapcia@tigase.net commented 9 years ago

hurry wang wrote:

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?

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

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
3928
Spent time
1h 15m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#640
Please wait...
Page is in error, reload to recover