-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The BOSH port denies the connection #218
Comments
There is no limit on max number of open connections for Bosh in Tigase (with exception of limits of the server, like CPU or memory). However, each port of Tigase XMPP Server has a limit on number of connections established in each second. For Bosh that is 1000 new connections per second. However, as each Bosh XMPP stream consists of multiple HTTP connections (each stanza exchange is a separate connection), it might occur that you reached this limit with 300 users connecting very fast or exchanging a lot of data (ie. during XMPP connection establishment). You could try to raise this limit to 2000 with following configuration:
|
The CPU and memory are normal, but the phenomenon is that the BOSH port cannot be accessed for a short period of time, and it will heal itself after a while |
What you are describing would suggest that you are hitting throttling limits. |
What you are describing would suggest that you are hitting throttling limits. I raised the limit on the number of connections, but the problem still persists,Does the value of this parameter represent the actual number of connected users?
The final configuration is as follows in config-dump.properties,are there any other parameters that need to be adjusted, for example, 'bosh-close-connection' = false
|
This would set limit of no. of new TCP connections to 2000 per second. I wonder, as you mentioned that BOSH port is brokered by nginx, are you testing Tigase BOSH directly or with proxy/forwarding over nginx? Because maybe you are hitting some nginx limit? |
The BOSH port refused the connection after 300 users connected to tigase,Other ports are accessed properly ,Is there an upper limit for connecting the BOSH port
Note: The BOSH port is brokered using nginx
Use the following default Settings
bosh { connections { 5280(){} } seeOtherHost {} }
Details (please complete the following information):
The text was updated successfully, but these errors were encountered: