Hi,
I’'ve spent the day testing the performance on 3.2 wildfire binary and RHEL 4. My testing includes 126 chatrooms with a history setting of 60 stanzas with logging in PostgreSQL.
So I attempt to connect various numbers of simulated users to these rooms over localhost connects in an unthrottled way. It seems wildfire can handle 2 or 4 users before it starts bombing out (wildfire starts pegging CPU) and dumping out messages like:
2007.02.12 01:16:27 org.jivesoftware.wildfire.nio.ConnectionHandler.exceptionCaught(ConnectionHandle r.java:104)
java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Unknown Source)
at java.nio.DirectByteBuffer.(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at sun.nio.ch.Util.getTemporaryDirectBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.j ava:232)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcesso r.java:206)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoProce ssor.java:44)
at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProce ssor.java:502)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Something doesn’'t seem right. Any ideas? What sort of performance should I expect with MUC?
Perhaps my testing client is naughty? Is there a benchmark that test MUC rooms as well?
thanks,
daryl