[jacorb-developer] Running out of Threads - Too many ServerMessageReceptor threads being created

Alka Nand alka.nand at gmail.com
Mon Feb 3 18:14:44 CET 2014


I have a similar problem to that reported by Marcus Wagner except that in
my case it is too many ServerMessageReceptor threads. This is also at a
customer site and they have Jacorb 3.0. I have not been able to replicate
the issue on our systems. It happened on a Windows system. They seemed to
be receiving a lot of messages on the Even Channel but I have been able to
send as many without causing the problem to happen.

When I try to replicate it no new threads are created every time the system
receives a message from the same connection. Can anyone suggest any reason
new threads would be created for the same connection?

This is the output of the core created when the customer ran out of
Memory...


--------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x51f10000 JavaThread "RMI TCP Connection(31007)-10.247.46.182" daemon
[_thread_in_native, id=123876, stack(0x7e8b0000,0x7e9b0000)]
  0x51f11000 JavaThread "ServerMessageReceptor312" daemon
[_thread_in_native, id=123884, stack(0x7e770000,0x7e870000)]
  0x51f0ec00 JavaThread "ServerMessageReceptor311" daemon
[_thread_in_native, id=122020, stack(0x608a0000,0x609a0000)]
  0x51f0f800 JavaThread "RMI RenewClean-[10.247.46.182:49599]" daemon
[_thread_blocked, id=122112, stack(0x60da0000,0x60ea0000)]
  0x51f07000 JavaThread "ServerMessageReceptor310" daemon
[_thread_in_native, id=121840, stack(0x7c090000,0x7c190000)]
  0x51f05400 JavaThread "ServerMessageReceptor309" daemon
[_thread_in_native, id=122440, stack(0x7daf0000,0x7dbf0000)]
  0x51f0c800 JavaThread "ServerMessageReceptor308" daemon
[_thread_in_native, id=118876, stack(0x7e3b0000,0x7e4b0000)]
  0x51f0e000 JavaThread "ServerMessageReceptor307" daemon
[_thread_in_native, id=119744, stack(0x7e130000,0x7e230000)]
  0x51f0cc00 JavaThread "ServerMessageReceptor306" daemon
[_thread_in_native, id=120580, stack(0x7dff0000,0x7e0f0000)]
  0x51f0d800 JavaThread "ServerMessageReceptor305" daemon
[_thread_in_native, id=119320, stack(0x7d4b0000,0x7d5b0000)]
  0x51f0d400 JavaThread "ServerMessageReceptor304" daemon
[_thread_in_native, id=120076, stack(0x7deb0000,0x7dfb0000)]
  0x51f06000 JavaThread "ServerMessageReceptor303" daemon
[_thread_in_native, id=119676, stack(0x7dd70000,0x7de70000)]
  0x51f09c00 JavaThread "ServerMessageReceptor302" daemon
[_thread_in_native, id=117320, stack(0x7dc30000,0x7dd30000)]
  0x51f08c00 JavaThread "ServerMessageReceptor301" daemon
[_thread_in_native, id=117956, stack(0x7d9b0000,0x7dab0000)]
  0x51f0b800 JavaThread "ServerMessageReceptor300" daemon
[_thread_in_native, id=117520, stack(0x7bf50000,0x7c050000)]
  0x51f0c000 JavaThread "ServerMessageReceptor299" daemon
[_thread_in_native, id=117688, stack(0x7d870000,0x7d970000)]
  0x51f06800 JavaThread "ServerMessageReceptor298" daemon
[_thread_in_native, id=116272, stack(0x7d5f0000,0x7d6f0000)]
  0x51f09400 JavaThread "ServerMessageReceptor297" daemon
[_thread_in_native, id=116640, stack(0x7d370000,0x7d470000)]
  0x51f0b400 JavaThread "ServerMessageReceptor296" daemon
[_thread_in_native, id=115164, stack(0x7d730000,0x7d830000)]
  0x51f04800 JavaThread "ServerMessageReceptor295" daemon
[_thread_in_native, id=114936, stack(0x7b550000,0x7b650000)]
  0x51f0a800 JavaThread "ServerMessageReceptor294" daemon
[_thread_in_native, id=115628, stack(0x7b7d0000,0x7b8d0000)]
  0x51f0ac00 JavaThread "ServerMessageReceptor293" daemon
[_thread_in_native, id=111952, stack(0x7bcd0000,0x7bdd0000)]
  0x51f08800 JavaThread "ServerMessageReceptor292" daemon
[_thread_in_native, id=113740, stack(0x7be10000,0x7bf10000)]
  0x51f08000 JavaThread "ServerMessageReceptor291" daemon
[_thread_in_native, id=114656, stack(0x7b690000,0x7b790000)]
  0x51f05000 JavaThread "ServerMessageReceptor290" daemon
[_thread_in_native, id=114456, stack(0x7bb90000,0x7bc90000)]
  0x51f04400 JavaThread "RMI RenewClean-[10.247.46.182:51640]" daemon
[_thread_blocked, id=113096, stack(0x7ba50000,0x7bb50000)]
  0x51f0a000 JavaThread "ServerMessageReceptor289" daemon
[_thread_in_native, id=113568, stack(0x7b910000,0x7ba10000)]
  0x51f07c00 JavaThread "ServerMessageReceptor288" daemon
[_thread_in_native, id=111604, stack(0x7a790000,0x7a890000)]
  0x51f07400 JavaThread "ServerMessageReceptor287" daemon
[_thread_in_native, id=112508, stack(0x7b050000,0x7b150000)]
  0x51bf7c00 JavaThread "ServerMessageReceptor286" daemon
[_thread_in_native, id=110992, stack(0x7b2d0000,0x7b3d0000)]
  0x54d22800 JavaThread "ServerMessageReceptor285" daemon
[_thread_in_native, id=111180, stack(0x7b410000,0x7b510000)]
  0x54d22c00 JavaThread "ServerMessageReceptor284" daemon
[_thread_in_native, id=109656, stack(0x7b190000,0x7b290000)]
  0x54d25800 JavaThread "ServerMessageReceptor283" daemon
[_thread_in_native, id=107396, stack(0x7a8d0000,0x7a9d0000)]
  0x54d23800 JavaThread "ServerMessageReceptor282" daemon
[_thread_in_native, id=105960, stack(0x7add0000,0x7aed0000)]
  0x54d28c00 JavaThread "ServerMessageReceptor281" daemon
[_thread_in_native, id=106408, stack(0x7af10000,0x7b010000)]
  0x54d29800 JavaThread "ServerMessageReceptor280" daemon
[_thread_in_native, id=105224, stack(0x7ac90000,0x7ad90000)]
  0x54d26c00 JavaThread "ServerMessageReceptor279" daemon
[_thread_in_native, id=105300, stack(0x7ab50000,0x7ac50000)]
  0x54d27800 JavaThread "ServerMessageReceptor278" daemon
[_thread_in_native, id=105396, stack(0x79d90000,0x79e90000)]
  0x54d24c00 JavaThread "ServerMessageReceptor277" daemon
[_thread_in_native, id=104660, stack(0x7a3d0000,0x7a4d0000)]
  0x54d29000 JavaThread "ServerMessageReceptor276" daemon
[_thread_in_native, id=104896, stack(0x79750000,0x79850000)]
  0x51bfa000 JavaThread "ServerMessageReceptor275" daemon
[_thread_in_native, id=102660, stack(0x7aa10000,0x7ab10000)]
  0x51bfa800 JavaThread "ServerMessageReceptor274" daemon
[_thread_in_native, id=103880, stack(0x7a650000,0x7a750000)]
  0x51bf9800 JavaThread "ServerMessageReceptor273" daemon
[_thread_in_native, id=99416, stack(0x7a510000,0x7a610000)]
  0x54d27c00 JavaThread "ServerMessageReceptor272" daemon
[_thread_in_native, id=101416, stack(0x7a290000,0x7a390000)]
  0x51bf6c00 JavaThread "ServerMessageReceptor271" daemon
[_thread_in_native, id=101488, stack(0x79610000,0x79710000)]
  0x54d28400 JavaThread "ServerMessageReceptor270" daemon
[_thread_in_native, id=101012, stack(0x7a150000,0x7a250000)]
  0x54d25400 JavaThread "ServerMessageReceptor269" daemon
[_thread_in_native, id=100452, stack(0x7a010000,0x7a110000)]
  0x51bf5000 JavaThread "ServerMessageReceptor268" daemon
[_thread_in_native, id=99632, stack(0x79ed0000,0x79fd0000)]
  0x51bf9400 JavaThread "ServerMessageReceptor267" daemon
[_thread_in_native, id=100216, stack(0x79390000,0x79490000)]
  0x51bf8c00 JavaThread "ServerMessageReceptor266" daemon
[_thread_in_native, id=99500, stack(0x79c50000,0x79d50000)]
  0x51bf5400 JavaThread "ServerMessageReceptor265" daemon
[_thread_in_native, id=99696, stack(0x79b10000,0x79c10000)]


and so on...

-- 

alka


More information about the jacorb-developer mailing list