The utility 'lsof' should list open files and what process has them open, system-wide.
You might need to google/go to freshmeat.net and get the source if your distro doesn't have a copy already. it just uses /proc so it should be platform-neutral. -m On Tue, Nov 18, 2003 at 09:55:01AM -0600, Craig, Roger C [ITS] wrote: > We are running Linux under VM on a mainframe. We keep running into this > "Too many open files" problem with one of our WebLogic Servers: > Sep 8, 2003 5:58:25 AM CDT> <Notice> <WebLogicServer> <000203> > <Reopening listen socket on port 7201> > <Sep 8, 2003 5:59:30 AM CDT> <Critical> <WebLogicServer> <000204> > <Failed to listen on port 7201, failure count: 79, failing for > 1,063,013,260 seconds, java.net.SocketException: Too many open files> > <Sep 8, 2003 5:59:30 AM CDT> <Critical> <WebLogicServer> <000206> > <Attempting to close and reopen the server socket on port 7201> > > We end up having to bounce the server (or Linux image) when we get this > condition. Has anyone experienced this? Also is there a good way to > display the number of open files? > >
