why my mechine only 40k online users on a single machine.

lv yulin
Added over 4 years ago

why my mechine only 40k online users on a single machine?

1.7.0_65 Oracle Corporation -- OpenJDK 64-Bit Server VM


Host Name: ubuntu

OS system: Linux / amd64

Replies (2)

Added by Steffen Larsen over 4 years ago

I can easily do 80-90k on my nodes (all depending on your XMPP usage with roster etc).

There can be many reasons why. But firstly check (if linux OS):

  • Ulimit for FS and processes needs to be larger

  • TCP/IP stack tunings (local port range have to be bigger than default, net.nf_conntrack_max needs to be setup to a larger level etc.)

  • Multiple IP addresses if you want more than 64k users



Added by Artur Hefczyc TigaseTeam over 4 years ago

You really provide too little information about your problem. Please describe in more details. How do you connect 40k, how do you know you cannot connect more?

Please also note, Oracle JDK is not the same as OpenJDK, so make sure you really use the JDK from Oracle. But I do not think this is an issue in this case.