OutOfMemory

Description

Testing Kraken for a few days now, and i notice everytime i get the stack trace on error.log, the monitoring plugin stop working and don't collect logs anymore.

The stacktrace is:

java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:640)
at java.util.Timer.<init>(Timer.java:137)
at java.util.Timer.<init>(Timer.java:106)
at net.sf.kraken.protocols.msn.MSNListener.<init>(MSNListener.java:68)
at net.sf.kraken.protocols.msn.MSNSession.logIn(MSNSession.java:127)
at net.sf.kraken.protocols.msn.MSNTransport.registrationLoggedIn(MSNTransport.java:88)
at net.sf.kraken.BaseTransport.processPacket(BaseTransport.java:398)
at net.sf.kraken.BaseTransport.processPacket(BaseTransport.java:199)
at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:619)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:260)
at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:164)
at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:70)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76)
at org.jivesoftware.openfire.net.StanzaHandler.processPresence(StanzaHandler.java:337)
at org.jivesoftware.openfire.net.ClientStanzaHandler.processPresence(ClientStanzaHandler.java:85)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:254)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:176)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:133)

The server handle about 250-300 users and lose chat logs is a big problem for me.

The parameters im using for openfire is:

-Xms248m -Xmx768m -XX:MaxPermSize=368m -Xss256k

Tried with default Xss, -Xss128k, and -Xmx2048m.

The error is random, can't replicate it yet.

Thanks

Environment

RHEL 6.0, RPM install, virtualized host on RHEV with 4G ram x86_64

Activity

Show:
daniel vultur
December 15, 2010, 9:42 PM

No worries – I just think the forums would get you better results since I'm not sure what would cause it. =)

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Daniel Henninger

Reporter

John Doe