"vink" wrote :
| But, on running my stress tests, my application is throwing
java.lang.OutOfMemoryError: unable to create new native thread
|
| Is there any place, where we can specify number of sockets, which can be closed by our
application.
|
Why do you think the OOM problem is related to the number of sockets? Is it an
org.jboss.remoting.transport.socket.ServerThread that can't be created?
In any case, you can specify the number of open sockets on the server with the parameter
"maxPoolSize": each ServerThread in the thread pool manages a single socket.
"vink" wrote :
| If I'm running only 4 clients on my machine, why it is complaining about sockets.
Why it doesn't reuse the same socket?
|
Again, why do you think it's complaining about sockets?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198498#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...