We have tried to replicate this issue on Test bed with Heap size set to 1GB.
On test bed as soon as JBoss is started we find that there are a lot of threads (JBoss System Thread(1) - around 300 threads) that are created.
I have no idea what these threads are for, any information on this will be helpful.
This is even before any request is made to the servers. But this is not observer on Production.
Thread count is tabulated below. Though number of threads has decreased the RSS value is increasing.
Date | Time | Total Thread | Daemon Thread | Non-Daemon Thread | JBoss System Thread(1) | http Thread | VSZ | RSS | SZ | |
2012-03-12 | 17:55:30 | 431 | 403 | 28 | 300 | 61 | 2343840 | 1028664 | 585960 | mapped: 1835679K writeable/private: 1803527K shared: 0K |
2012-03-12 | 18:22:42 | 428 | 399 | 28 | 300 | 61 | 2409304 | 1500656 | 602326 | mapped: 1835679K writeable/private: 1803527K shared: 0K |
2012-03-13 | 09:52:52 | 423 | 395 | 28 | 300 | 61 | 2409304 | 1501628 | 602326 | mapped: 1835679K writeable/private: 1803527K shared: 0K |