-
1. Re: Too many open files
genman Apr 20, 2007 5:43 PM (in response to bob_walker99)What does "netstat" and "lsof" display?
You should be able to identify if there are leaking sockets. -
2. Re: Too many open files
hoffman462 Apr 22, 2007 8:35 PM (in response to bob_walker99)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. -
3. Re: Too many open files
bob_walker99 Apr 24, 2007 4:35 AM (in response to bob_walker99)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? -
4. Re: Too many open files
timfox Sep 17, 2007 7:09 AM (in response to bob_walker99)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?