High CPU usage and hangup after a few days of running

Description

A few users running 3.10.0 Beta report 100% CPU usage of Openfier process after a few days of running (no similar problems with previous versions of Openfire). They have to kill the process in the Task manager. No related logs. At first it was an impression that some left over files (from version 3.9.3) were causing that, but even after a clean install the issue persists. At least one user reports he is using built-in Java 7.

More reports after the GA release:
https://community.igniterealtime.org/thread/55306
https://community.igniterealtime.org/thread/55251

Environment

Windows Server 2008 R2, MS SQL, Mac OS X with Java 8

Activity

Show:

Daryl Herzmann June 16, 2015 at 5:13 PM

Going to mark this as fixed, will create new tickets for issues found after 3.10.1 release

Geoff Nordli June 2, 2015 at 8:07 PM

I am still having some issues around the org.jivesoftware.openfire.nio.NIOConnection - Failed to deliver packet:

https://community.igniterealtime.org/message/249323#249323

I am running the 3.10.1 RC (nightly build from May 31st)

Guus der Kinderen May 29, 2015 at 6:57 AM
Edited

This morning, the session summary admin page displays this the following stack trace. This loop should be prevented. Note that the changes mentioned above had already been applied when this error occurred.

java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at java.io.PrintWriter.<init>(PrintWriter.java:116)
at java.io.PrintWriter.<init>(PrintWriter.java:100)
at org.apache.log4j.spi.VectorWriter.<init>(ThrowableInformation.java:80)
at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:58)
at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:342)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304)
at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:236)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at org.slf4j.impl.Log4jLoggerAdapter.debug(Log4jLoggerAdapter.java:285)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:367)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnection.deliverRawText(NIOConnection.java:373)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:225)
at org.jivesoftware.openfire.nio.NIOConnect

Guus der Kinderen May 28, 2015 at 9:09 PM
Edited

MINA 2.0.8 introduces support for half-duplex close of TCP channels (see https://issues.apache.org/jira/browse/DIRMINA-785). As part of this change, IoHandlers got a new method. The default behavior of the IoHandlerAdapter closes the MINA session when this handler is triggered. However, without an Openfire-specific extension (in ConnectionHandler), this fails to close Openfire-maintained resources. As a result, CPUs could start to spin in NIO code, resulting in 100% CPU cycles.

To fix this issue, ConnectionHandler now overrides the default functionality and triggers a normal closure of the session (both in Openfire as well as MINA context).

Additionally, to prevent the CPU spin, MINA sessions need to be closed synchronously (as opposed to the async closure Openfire had up until now). I cannot quite explain the need for this change, other than a suspision of race conditions in the async setup.

Daryl Herzmann May 28, 2015 at 7:08 PM

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created February 20, 2015 at 8:01 PM
Updated June 16, 2015 at 5:13 PM
Resolved June 16, 2015 at 5:13 PM

Flag notifications