[JNDI/Naming/Network] - HANamingService-OutOfMemory
by igain
Hi 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]
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154768#4154768
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154768
16 years, 6 months
[Messaging, JMS & JBossMQ] - JbossMQ - OutofMemory
by igain
Hi All,
We are using Jboss AS 4.2.0 GA version in clustered env. in production.
There are 2 nodes in this cluster. We are using MDB in our application .
Thats the only one MDB that we are using in our application, which used to sync the data based on user's request.
Initially it works fine, but after 3-4 days i am getting followin exception.
If i restart both the servers, it starts working fine but again after 3-4 days
i get same exception.
any help would be greatly appreciated.
| 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 EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520)
|
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:891)
|
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:335)
|
| at java.lang.Thread.run(Thread.java:595)
|
| 2008-05-23 10:40:26,152 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on unexpected error in read task
|
| 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 EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520)
|
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:891)
|
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:335)
|
| at java.lang.Thread.run(Thread.java:595)
|
|
|
| 2008-05-23 10:40:58,490 WARN [org.jboss.mq.server.BasicQueue] Caught unusual exception sending message to receiver.
|
| 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.mq.server.ClientConsumer.queueMessageForSending(ClientConsumer.java:125)
|
| at org.jboss.mq.server.BasicQueue.queueMessageForSending(BasicQueue.java:1140)
|
| at org.jboss.mq.server.BasicQueue.internalAddMessage(BasicQueue.java:1111)
|
| at org.jboss.mq.server.BasicQueue.access$000(BasicQueue.java:76)
|
| at org.jboss.mq.server.BasicQueue$AddMessagePostCommitTask.run(BasicQueue.java:1359)
|
| at org.jboss.mq.pm.TxManager.addPostCommitTask(TxManager.java:162)
|
| at org.jboss.mq.server.BasicQueue.performOrPrepareAddMessage(BasicQueue.java:411)
|
| at org.jboss.mq.server.BasicQueue.addMessage(BasicQueue.java:383)
|
| at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:76)
|
| at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:180)
|
| at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:415)
|
| at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:399)
|
| at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:106)
|
| at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:168)
|
| at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:226)
|
| at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:112)
|
| at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:114)
|
| at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
|
| at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
|
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
|
| at java.lang.Thread.run(Thread.java:595)
|
|
|
| 2008-05-23 10:41:26,153 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
|
| org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
|
| at org.jboss.mq.Connection$PingTask.run(Connection.java:1313)
|
| at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
|
| at java.lang.Thread.run(Thread.java:595)
|
| Caused by: java.io.IOException: ping timeout.
|
| ... 3 more
|
| 2008-05-23 10:42:21,043 WARN [org.apache.tomcat.util.http.Parameters] Parameters: Invalid chunk ignored.
|
| 2008-05-23 10:42:21,043 WARN [org.apache.tomcat.util.http.Parameters] Parameters: Invalid chunk ignored.
|
| 2008-05-23 10:42:26,155 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
|
| org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
|
| at org.jboss.mq.Connection$PingTask.run(Connection.java:1313)
|
| at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
|
| at java.lang.Thread.run(Thread.java:595)
|
| Caused by: java.io.IOException: ping timeout.
|
| ... 3 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154765#4154765
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154765
16 years, 6 months