The problem that I have is with a single directory. When the problem occurs, that directory seems to be locked by some process. I cannot list the content within that directory. Here are some background about the server and its setup.
- running Redhat 5.8 64bit
- the directory is within a NFS mount, the source is from a SAN device.
- while this problem is happening, I can access other files or directories on that NFS mount point, so only that directory is unresponsive
- the directory in question is use by a java application, running in Tomcat, the application writes a lot of files and directories within that directory level. The inode count is typically into 20-30k.
Can anyone give me some suggestion on how to identify the culprit in this case? It seems like the most probable case is the Tomcat application. But if so, how can I prove it?
I have prepared to run "lsof +D /directory" when this happens again. But I'm afraid that won't be enough to determine whether this is an app issue or an OS issue. Please help.