What does "netstat" and "lsof" display?
You should be able to identify if there are leaking sockets.
I have seen this in the past as well. The problem for us was not related to Jboss at that time. It occurred on a Linux Box, running the 2.4 Kernel.
Our work around was:
1) Become root
2) Execute ulimit -n 8192
This may also be any other large number. The total number of open file handles is very large for even normal machines.
3) su username
(Where this is the user that runs your jboss instance, and start the server).
While I don't think this really fixed the problem; it allowed us to continue.
Hi, thanks for the suggestions, I've had to roll back to 1.0.1 SP4 as this is a productions server, so I can't diagnose further at this point. Before I rolled back I tried lsof whilst I was getting the error and it was reporting between 5000-7000 handles, the rolled back system is currently reporting around 2000. I didn't get chance to try netstat.
I'm not happy about increasing ulimit, I think it's asking for trouble isn't it?
Are you sure you are running Remoting 2.2.2.GA as specified in the release announcement?
If so, maybe you are not closing your connections?