File transfer is freezing while copying

28,301

Actually it was not freezing or hanging, it just filled up the cache (that is why it was faster at some point and suddenly looks like freezing.)

To make sure the copying running. You can do strace to see if system call I/O is running.

Open terminal, then ps -ef|grep <name_of_the_program> and then strace -p <prog_pid>.

Share:
28,301

Related videos on Youtube

al0s
Author by

al0s

Updated on September 18, 2022

Comments

  • al0s
    al0s almost 2 years

    When I make any data transfer process (from computer to usb), after a couple of seconds file transfer process freezes. It be normal after a few minutes later but again freezes. If there would no problem, copy process will be fast. Unlikely my hard-disk works without any problem. Also Flash-disk hasn't got any problem. -I disgust to say that- USB works fine in other OSes.

    Note: I am using 3.0 port and 3.0 USB-Driver. I have no 2.0 port on my laptop.

    • Ravan
      Ravan almost 9 years
      refr here
    • al0s
      al0s almost 9 years
      It is not seen like a real solution, I feel myself like making up a value (not academic). The problems is solving but a new problems occurs like very slow transfer or a potential risk to lose integrity of data.
    • al0s
      al0s over 7 years
      @Ravan, after a huge time span like one year, i want to thank you for your comment. It takes my one year to understand what is going on :)
  • al0s
    al0s over 8 years
    Thanks for answer. I will try it later, I have one more question that is maybe about cache, generally transfers begins with huge speed and drops slowly to lower numbers like from 90 mb/sec to 10 mb/sec. Is it a normal thing like can not underestimate the left time of the data transfer proccess?
  • Muhammad Aizuddin
    Muhammad Aizuddin over 8 years
    The bottleneck is the speed on the disk write I/O. The actual speed is might vary based on the write speed of the disk. To see it more clearly try to use dd utility. Example: dd if=source_file of=target_location conv=fsync. The conv=fsync flag sets to bypass the cache, hence synchronous I/O.