Results 1 to 3 of 3

Thread: need help to identify the culprit

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default need help to identify the culprit

    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.

    Thanks../Ken

  2. #2
    Junior Member zzlyzq's Avatar
    Join Date
    Mar 2013
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default fuser

    fuser yourdirector
    fuser -m yourfilemountpoint

  3. #3
    Junior Member
    Join Date
    Jan 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by zzlyzq View Post
    fuser yourdirector
    fuser -m yourfilemountpoint
    Thanks, I had briefly looked at this before but I thought it might not be applicable, but l'll give that a try.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Howto identify newly connected harddrive in RHEL 5 or 6?
    By vaibhav.kanchan in forum Linux hardware
    Replies: 2
    Last Post: 24th March 2013, 01:39 PM
  2. Replies: 1
    Last Post: 16th June 2012, 10:57 AM
  3. Identify numbers and text in a column ( CSV )
    By foxrever in forum Shell scripting
    Replies: 2
    Last Post: 6th October 2010, 09:25 AM
  4. Identify new devices
    By skrish_79 in forum Linux software
    Replies: 1
    Last Post: 31st January 2005, 06:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •