Run this shell while copying the files (change the ITERATIONS value if
you need to) ... it will monitor the memory usage (amount of data
waiting to be written to disk). If the values remain high for too long
(there may be a bottleneck when writing to disk), then your problem
could be solved by tunning the pdflush parameters.

#!/bin/bash

# Shows amount of data in memory ... waiting to be written to disk
# Number of times to repeat the loop ... 1 iteration x second
ITERATIONS=60

for (( c=1; c<=$ITERATIONS; c++ ))
do
  echo $(date) "--> " $(cat /proc/meminfo | grep Dirty)
  sleep 1
done

exit 0

-- 
Ubuntu hangs up from time to time when I try to copy files from ATA NTFS to 
SATA ext4 partition
https://bugs.launchpad.net/bugs/390204
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to