HANamingService-OutOfMemory
igain May 30, 2008 4:02 PMHi All,
We are using Jboss AS 4.2.0 GA version in clustered env. in production.
There are 2 nodes in this cluster.
I have started getting OutOfMemory exception for HANamingService. similar error i got for JbossMQ as well. i.e. OutOfMemory and unable to create new native threads
Any help would be greatly appreciated.
2008-05-30 11:21:36,335 ERROR [org.jboss.ha.jndi.HANamingService] Unexpected exception during accept org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create new native thread at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:417) at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:192) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:212) at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:206) at org.jboss.ha.jndi.DetachedHANamingService$AcceptHandler.run(DetachedHANamingService.java:715) at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:148) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) at java.lang.Thread.run(Thread.java:595) 2008-05-30 11:21:39,482 INFO [STDOUT] jobList size --->0 2008-05-30 11:21:42,957 INFO [STDOUT] jobList size --->0 2008-05-30 11:49:22,173 ERROR [org.jgroups] uncaught exception in Thread[MERGE2.FindSubgroups thread (channel=ETProd-SFSBCache),5,JGroups threads] (thread group=org.jgroups.util.Util$1[name=JGroups threads,maxpri=10] ) java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) at org.jgroups.protocols.PingWaiter.start(PingWaiter.java:51) at org.jgroups.protocols.Discovery.down(Discovery.java:301) at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499) at org.jgroups.stack.Protocol.passDown(Protocol.java:533) at org.jgroups.protocols.MERGE2$FindSubgroups.findInitialMembers(MERGE2.java:333) at org.jgroups.protocols.MERGE2$FindSubgroups.run(MERGE2.java:291) at java.lang.Thread.run(Thread.java:595) 2008-05-30 11:49:26,709 ERROR [org.jgroups] uncaught exception in Thread[PingWaiter,5,JGroups threads] (thread group=org.jgroups.util.Util$1[name=JGroups threads,maxpri=10] ) java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) at org.jgroups.protocols.PingSender.start(PingSender.java:34) at org.jgroups.protocols.PingWaiter.findInitialMembers(PingWaiter.java:116) at org.jgroups.protocols.PingWaiter.run(PingWaiter.java:99) at java.lang.Thread.run(Thread.java:595) 2008-05-30 11:49:27,655 ERROR [org.jgroups] uncaught exception in Thread[PingWaiter,5,JGroups threads] (thread group=org.jgroups.util.Util$1[name=JGroups threads,maxpri=10] ) java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:574) at org.jgroups.protocols.PingSender.start(PingSender.java:34) at org.jgroups.protocols.PingWaiter.findInitialMembers(PingWaiter.java:116) at org.jgroups.protocols.PingWaiter.run(PingWaiter.java:99) at java.lang.Thread.run(Thread.java:595) 2008-05-30 11:50:11,988 WARN [org.apache.tomcat.util.http.Parameters] Parameters: Invalid chunk ignored. 2008-05-30 11:50:11,989 WARN [org.apache.tomcat.util.http.Parameters]