sess-man queue size is to high
we run some load tests for Tigase. It's simple test which sends 1500K 1-1 messages per second.
After some time we see that sess-man component queue size is to high and increasing.
Is there some recommendations which parameters we can tune and check to decrease this bottle neck?
Added by Artur Hefczyc about 4 years ago
What version of the Tigase XMPP Server are you testing?
What DB do you use?
Is it a clustered setup or a single mode installation?
By 1500k/sec do you really mean 1.5k/sec or 1.5M/sec?
The metrics you are asking about mean:
Queue - current size of the plugins queue, that is a number of currently waiting packets in the queue
AvTime - is an average processing time of a single packet in this plugin in ms
Runs - basically how many packets the plugin already processed from the server startup time
Lost - Each queue has maximum size to prevent OOM. Once the queue is full the plugin (or component) drops any new incoming packets which do not fit into the queue. This counter shows how many packets were dropped (lost)
Tigase version 5.2.x had a code causing performance issues in SM and some plugins. Looks like you might be affected. Unless you use 7.0.0, please rerun your tests with the most recent version of the Tigase server. The fix is relatively simple, so it could be back ported if it hasn't been yet.
Added by Igor Khomenko about 4 years ago
We use Tigase 5.2.0, MySQL db, single mode installation.
We test 1500 messages per second, we have Tsung script which produces 1500 messages per second
According to your information, looks like the amp plugin is a bottle neck because sometimes I see about 1000 messages in a Queue and Lost has a big value
Do you think it could be an issue with Tigase 5.2.0 ? Because I see that you fixed an issue with amp plugin in 5.2.3 http://www.tigase.net/blog-entry/tigase-xmpp-server-523-release