We have a problem with our setup. We use strophe to create a chat. The problem is that the initial authentication takes very long, around 20 seconds. Everything else seems to work fine.
Here’s an example. it took 25 seconds for the server to reply with this:
Server Properties
Server Uptime:
3 days, 2 hours, 8 minutes – started Apr 9, 2010 2:00:08 PM
Version:
Openfire 3.6.4
Server Directory:
/opt/openfire
Server Name: xmpp.nrk.no
Environment
Java Version:
1.6.0_03 Sun Microsystems Inc. – Java HotSpot™ Server VM
Appserver:
jetty-6.1.x
Host Name:
madmzlxtc02
OS / Hardware:
Linux / i386
Locale / Timezone:
en / Central European Time (1 GMT)
Java Memory
does your server uses a lot of CPU or does it simply hang (monitor this “vmstat 1”)?
Create some javacores (kill -3 openfire-pid) while the request takes so long. This should show you whether Openfire hangs in one method or whether it does a lot of things which take so long.
I’m sorry, but we have decided to try ejabberd. OpenFire was a dream to install and program against. But when we tried to configure it for high performance (>5000 concurrent users), we were at a loss. This is not to write-off OpenFire, but we will now give eJabberd a go and see if that works better for us.