Windows Server 2003 CPU

We’re running Openfire 3.5.1 on a Dell PowerEdge 2850 with a 2.8 G Xeon Processor running Windows Server 2003. Our CPU usage stays between 90% and 100% while Openfire is running. Is this normal?

Also, we’re using Neos chat client and it takes at least 10 minutes to connect to our jabber server. Is this due to the CPU usage or is there another problem that we haven’t identified?

Hey Lee,

That is for sure not normal. I wonder if your XMPP domain is being ignored by your client thus producing lots of server-2-server activities that will ultimately fail. You can get a thread dump of the server and check the log files to see what the server is doing.

Thanks,

– Gato

Hi,

you may also want to enable a GC log. Did you adjust the Xmx value in openfired.vmoptions?

How much free memory does your Openfire server has?

Did you install any plugins which are out-of-date?

LG

Thanks for your help. Sorry, but we’re new to this whole jabber server thing. How do we get a thread dump of the server? We’ve been keeping an eye on the error, warning, info, etc. logs that are in the admin console.

We’re getting the following warnings:

<version>1.2.1 (jabberoo 1.1.2)</version>

<os>Windows XP v5.1.2600 on i586</os>

</query>

</iq>

2008.05.14 08:09:07 Error or result packet could not be delivered

<iq id=“WA8059” to="waref@10.0.5.114/neos" type=“result” from="shannonb@10.0.5.114/neos">

<query xmlns=“jabber:iq:version”>

<name>neos</name>

That same warning occurs over and over with different users. Server to Server connection is disabled.

Also, we are getting the following errors in our Error log:

2008.05.13 15:15:20 [org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.jav a:88)

] Line=19 The content of element type “dwr” must match “(init?,allow?,signatures?)”.

2008.05.14 08:20:00 [org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94 )

] Error during authentication. Session not found in for key 10.0.5.114/d88f2d74

2008.05.14 08:20:00 [org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94 )

] Error during authentication. Session not found in for key 10.0.5.114/b231facd

2008.05.14 08:20:00 [org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94 )

] Error during authentication. Session not found in for key 10.0.5.114/6a274e49

2008.05.14 08:20:01 [org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94 )

] Error during authentication. Session not found in for key 10.0.5.114/2950ec4b

2008.05.14 08:20:06 [org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94 )

] Error during authentication. Session not found in for key 10.0.5.114/54f05107

2008.05.14 08:20:06 [org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94 )

] Error during authentication. Session not found in for key 10.0.5.114/e37b59a1

This just started recently.

The only plugin that we’ve added recently is the archiving plugin from Jive Software’s latest release. We did change the memory settings in openfired.vmoptions. The server has free memory. The processor is still pegged and logins still take 10 to 15 minutes.

Thanks for all of your help lately. You seem to be the resident Guru on Openfire, so I was hoping you could help me out. I work for a school system and we have installed Openfire 3.5.1. We’ve integrated it with Active Directory, and we’re pushing out a contact list with all of the teachers in the school system. We’re using the Neos chat client to connect. It all worked for a few days, and then when we updated from 3.5.0 to 3.5.1, our CPU pegged out, and it’s been sitting fairly close to 100% since. Also, it takes forever and a day for teachers to login. Thanks for any help that you may be able to give me.

–LeeCo

Server: CentOS 5.1

Openfire: openfire-3.5.2-1.i386.rpm

JDK:jdk-6u10-beta-bin-b25-linux-i586-29_may_2008-rpm.bin

error log:

at org.jivesoftware.openfire.container.PluginManager.access$300(PluginManager.java :47)

at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:1014)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n Source)

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)

2008.07.03 16:04:18 org.jivesoftware.openfire.update.UpdateManager$1.run(UpdateManager.java:117) Error checking for updates

org.dom4j.DocumentException: Error on line 9 of document : An invalid XML character (Unicode: 0x) was found in the value of attribute “” and element is “1”. Nested exception: An invalid XML character (Unicode: 0x) was found in the value of attribute “” and element is “1”.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:365)
at org.jivesoftware.openfire.update.UpdateManager.processAvailablePluginsResponse( UpdateManager.java:530)
at org.jivesoftware.openfire.update.UpdateManager.checkForPluginsUpdates(UpdateMan ager.java:222)
at org.jivesoftware.openfire.update.UpdateManager$1.run(UpdateManager.java:114)
Nested exception:
org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x) was found in the value of attribute “” and element is “1”.

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseExcep tion(Unknown Source)

at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute( Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartEleme nt(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragment ContentDriver.next(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocu ment(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unkno wn Source)

at org.dom4j.io.SAXReader.read(SAXReader.java:465)

at org.dom4j.io.SAXReader.read(SAXReader.java:365)

at org.jivesoftware.openfire.update.UpdateManager.processAvailablePluginsResponse( UpdateManager.java:530)

at org.jivesoftware.openfire.update.UpdateManager.checkForPluginsUpdates(UpdateMan ager.java:222)

at org.jivesoftware.openfire.update.UpdateManager$1.run(UpdateManager.java:114)

2008.07.03 16:08:18 org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.java: 88) Line=19 The content of element type “dwr” must match “(init?,allow?,signatures?)”.

2008.07.04 09:02:42 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/47671763

2008.07.04 09:03:34 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/71530e8f

2008.07.04 09:37:05 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/c8e14cbe

2008.07.04 09:37:27 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/a618e0f0

2008.07.04 09:38:14 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/df95422

2008.07.04 09:40:12 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/d8bef44d

2008.07.04 09:45:35 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/bc5a5b73

2008.07.04 09:51:21 org.jivesoftware.openfire.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:94) Error during authentication. Session not found in [] for key abc.com/d744b048