I've run into an issue lately where my home directory somehow gets read-locked. Any processes trying to read from it, whether it's Nautilus or the terminal become unresponsive for 1-2 minutes, then suddenly resume. This happens every 10-15 minutes and I'm at a loss on how to find the culprit.

Is there any way to watch processes or something similar so that I can find what is causing this?

  • There is no file locking in Linux (as in "one application preventing anther from reading from a file"). My first guess would be some trouble with the hard drive causing it to retry failed reads, which sometimes may produce similar effect. – Sergey Nov 19 '12 at 3:28

Maybe iotop can help finding the process which is doing excessive disk I/O at that time...

Other possibility maybe a failing harddisk or a problem with the harddisk controller...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.