powered by Jive Software

Openfire 3.7.0 Growing non-paged pool and then crash

Openfire XMPP Stanzas

Hi,

My openfire3.70 works in windows 2003 32bit ,memory is 20G,

I found my Openfire the nopaged increase when send packets quantity increases,and finally the system will crash.

I have set xmpp.pep.enabled = false, Useful for memory reduction, but the non-paged pool overflow when Packet is greater than 1200 per minute,Online users only 40-60。

The openfire The non-paged pool is always in growth, until reach 256M and the sum of the system to crash.

I do not know why, Can you help me? Thank you very much!

What about JVM memory status (on the home page of Admin Console, hit refresh few times to see how it changes)? Also, maybe there are some errors in te error.log (maybe memory related).

hi wroot:

Thank you for your answer !

I hit refresh the change process as follows on the Admin Console:

(The refresh interval is within a few seconds)

323.05 MB of 989.88 MB (32.6%) used

347.38 MB of 989.88 MB (35.1%) used

353.81 MB of 989.88 MB (35.7%) used

360.92 MB of 989.88 MB (36.5%) used

445.19 MB of 989.88 MB (45.0%) used

449.87 MB of 989.88 MB (45.4%) used

320.84 MB of 989.88 MB (32.4%) used

Each time it reaches 45%, then change back to 32%

some error in error.log :

2012.10.05 21:19:25 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/start 69053813

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.c

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:19:25 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/consumer chinese mobile

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.h

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:43 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/start 96224729

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.c

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:43 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/consumer chinese mobile

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.h

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:55 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/start 67327455

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.c

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:55 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/consumer chinese PC

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.h

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:56 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/start 67327455

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.c

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:56 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/consumer chinese PC

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.h

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:59 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/start 62065720

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.c

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

2012.10.05 21:20:59 Error in interceptor: org.jivesoftware.openfire.archive.ArchiveInterceptor@1be8a4b while intercepting:

/consumer chinese PC

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Message$Type.h

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Message$Type.valueOf(Message.java:284)

at org.xmpp.packet.Message.getType(Message.java:98)

at org.jivesoftware.openfire.archive.ConversationManager.isConversation(Conversati onManager.java:765)

at org.jivesoftware.openfire.archive.ArchiveInterceptor.interceptPacket(ArchiveInt erceptor.java:72)

at org.jivesoftware.openfire.interceptor.InterceptorManager.invokeInterceptors(Int erceptorManager.java:239)

at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:118)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:80)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:11 4)

at org.jivesoftware.openfire.SessionPacketRouter.route(SessionPacketRouter.java:72 )

at org.jivesoftware.openfire.http.HttpSession.sendPendingPackets(HttpSession.java: 636)

at org.jivesoftware.openfire.http.HttpSessionManager$HttpPacketSender.run(HttpSess ionManager.java:390)

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)

I wonder whether you hit a Win2003/Java bug: http://docs.oracle.com/cd/E19355-01/820-4276/gfqse/index.html

Hi LG, thank you !

I use the the openfire default jre , java version is:

c:>java -version

java version “1.6.0_18”

Java™ SE Runtime Environment (build 1.6.0_18-b07)

Java HotSpot™ Client VM (build 16.0-b13, mixed mode, sharing)

is It exists to the TCP / IP stack bug ? I looked at this link: http://docs.oracle.com/cd/E19355-01/820-4276/gfqse/index.html** **

Seems to be only for Sun GlassFish, I do not know how to configure the blocking mode for java or openfire,

can you help me? thanks.

I use poolmon.exe tool to analyze memory found great non-paged pool AfdP tag occupied and the openfire communication packet is greater than 1200, has been growing:

C:\Program Files\Support Tools>poolmon.exe

Memory:20960776K Avail:19973300K PageFlts: 15816 InRam Krnl: 2264K P:49900K

Commit:1260400K Limit:41637592K Peak:1370352K Pool N:78764K P:53436K

System pool information

Tag Type Allocs Frees Diff Bytes Per Alloc

MmCm Nonp 5198 ( 0) 4898 ( 0) 300 22301216 ( 0) 74337

AfdP Nonp 34662861 (2775) 34645860 (2775) 17001 17063624 ( -40) 1003

MmSt Paged 288948 ( 24) 282519 ( 24) 6429 11806728 ( 0) 1836

BCM0 Nonp 92 ( 0) 0 ( 0) 92 7554080 ( 0) 82109

TPLA Nonp 1536 ( 0) 0 ( 0) 1536 6291456 ( 0) 4096

C:>findstr /s /m /l AfdP *.sys

FINDSTR: Unable to open pagefile.sys

WINDOWS$NtUninstallKB931311$\afd.sys

WINDOWS\SoftwareDistribution\Download\dfce47dd664d2835b1d8531e28537606\SP2GDR\af

d.sys

WINDOWS\SoftwareDistribution\Download\dfce47dd664d2835b1d8531e28537606\SP2QFE\af

d.sys

WINDOWS\system32\dllcache\afd.sys

WINDOWS\system32\drivers\afd.sys

I googling about afd.sys,

Upgraded some patches of MS,

Upgraded HP drivers,

Upgrade openfire openfire jre: 1.6.0_35 Sun

But The problem still is not resolved. I am very troubles, help me ,thanks!

Any update on this issue? We experience the same issue right now with Openfire 3.8.2.

Non-paged pool is growing constantly and eventually crashes the whole system nearly daily.