← Back to team overview

desktop-packages team mailing list archive

[Bug 1208993] Re: Ubuntu slows down and hangs while copying file from/to USB

 

More feedback about the problem I'm experiencing.

First some data about my system:

Kernel 3.16.0-57-generic
Ubuntu Desktop 14.4 LTS
32 bits
2GB RAM
Centrino duo

I complete my previous comment. I was performing two I/O operations
before I got the problem. I couldn't repeat the problem with the first
one (that I described in comment #14), but It's always repeatable with
the second one. That is:

1. Connect two USB disks to my computer to make a copy from the first one (say disk A) to the second (say disk B). The amount of data to copy is 80GB.
2. Start the copy from USB disk A to B. After 75% copying, the copy seems to be stopped. 

The progress bar in "copy files window" doesn't move. You can close the
window by pressing "x" with the mouse pointer. You can try to shutdown
the system by pressing the "Shut down..." menu option, but it doesn't
respond and system keeps online. Launcher bar doesn't repond.

I have by default the next values for dirty_background_ratio and
dirty_ratio:

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

It seems to be that, during the huge copy from disk A to B, memory has
reached the 10% of dirty pages indicated by vm.dirty_ratio. After that
all I/O operations became synchronous and block the system until dirty
pages a written to disk. It's just a supposition. Pending to chek it by
increasing vm.dirty_ratio (so I allow the system to performance more
asynchronous writes before they block the system) and repeating the
copy.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1208993

Title:
  Ubuntu slows down and hangs while copying file from/to USB

Status in nautilus package in Ubuntu:
  Confirmed

Bug description:
  Hi

  While copying many and large files to and from a USB drive, the system
  becomes incredibly slow and sometimes hangs. I watched the system
  monitor while it was running slowly but cpu was not above 50% at any
  time, the same for memory.

  I'm using the "WD my passport" HD with a USB3 port of my "ASUS K55VD"
  laptop.

  Description:	Ubuntu 13.04
  Release:	13.04

  nautilus:
    Installed: 1:3.6.3-0ubuntu16
    Candidate: 1:3.6.3-0ubuntu16
    Version table:
   *** 1:3.6.3-0ubuntu16 0
          500 http://ubuntu-archive.mirror.nucleus.be/ raring/main amd64 Packages
          100 /var/lib/dpkg/status

  
  Steps to reproduce:
  1) Aquire many large files (like your totally legit moviecollection)
  2) Copy files to external HD
  3) Open your browser and be sad when your system becomes incredibly slow after a few minutes


  This is my first bugreport so if I'm missing something, please tell
  me.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: nautilus 1:3.6.3-0ubuntu16
  ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
  Uname: Linux 3.8.0-27-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  Date: Tue Aug  6 22:56:34 2013
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/nautilus
  GsettingsChanges:
   b'org.gnome.nautilus.window-state' b'geometry' b"'656x715+154+151'"
   b'org.gnome.nautilus.window-state' b'maximized' b'true'
  InstallationDate: Installed on 2013-05-31 (67 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1208993/+subscriptions