Using tsung to test Tigase

abin yan
Added over 3 years ago

There are many warnings in tigase-console.log

Could you explain the reason of these wainings happened and help me to solve it.

here are two type of warning:

2015-06-30 22:09:24.489 [ConnectionOpenThread] WARNING: Cant obtain socket channel from selection key, throttling activated = {0}, for port: {1}

2015-06-30 22:09:24.517 [ConnectionOpenThread] ConnectionManager.serviceStarted() WARNING: c2s: Attempt to add different service with the same ID: null, type: accept, Socket: nullSocket[addr=/,port=42100,localport=5222], jid: null

I set 40000users but only 2000+ users are connected.

Replies (6)

Added by abin yan over 3 years ago

Thank you very much, I change this as you said and the warning is disappear.

But the connected is still low, only 2000.

The tsung report main error is error_connect_etimedout.

Added by abin yan over 3 years ago

attached is tsung xml

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Have you adjusted settings for new connections throttling? You're doing 400connectins per second. It seems you're doing the testing on the same machine so this may be limiting factor as well. Please also adjust settings for High load systems

Added by abin yan over 3 years ago

Yes, I have adjusted.

now, I show you all my tigase's configure and tsung's configure.