Why does DF keep hanging on the Mount?

Why does DF keep hanging on the Mount?

It appears df was trying to list that mount and instead of failing gracefully, it just got stuck : ( The most common cause of software like df hanging is when they’re trying to read from a disk that isn’t responsing properly. Check the output from dmesg to see if this is the case — a flaky drive will toss out a great deal of errors.

Why does DF-H hang on my computer?

Re: df -h hangs I would expect that your df -H hanging is a symptom of issues with your cifs device or configuration. As the df marches through the mounted filesystems, it gets to that one and is unable to get a response, hence why it is hanging.

Why is my DF hanging on the drive?

The most common cause of software like df hanging is when they’re trying to read from a disk that isn’t responsing properly. Check the output from dmesg to see if this is the case — a flaky drive will toss out a great deal of errors. Unfortunately, this tends to be a hardware problem and you may be looking at having to replace the entire drive.

Why is my df command hanging so long?

Suppose your df complets and gives you this meaningless example: What you are seeing is probably some overloaded directories, directories that have thousands of files in them. Performance on those is usually slow. a problem. Also, if you have a DNS resolve issue, the df command result will take a long while to return.

Why does DF hang when I run lsof?

When I run a df command, or an lsof command, the process hangs. With the df command, I have to open another session to kill the df process. lsof will let me break out of the command. The df issue is most commonly associated with nfs mount, but in this case, I do not think I have any nfs mounts.

Why does strace LS hang on I / O?

Run strace ls /var/www/ and see what it hangs on. It’s certainly hung on I/O — that’s what the D state in your ps output means (and since kill doesn’t help, it’s one of the uninterruptible I/O syscalls). Most hangs involve an NFS server that’s gone to god, but based on your df that isn’t the case here.

What causes LS to hang after NFS connection?

But run with the -l option, it was hanging and I could see which entry was causing this: