Author Topic: SOLVED : hang when copying files !!  (Read 1322 times)

Offline raed

  • Full Member
  • ***
  • Posts: 200
SOLVED : hang when copying files !!
« on: June 22, 2012, 12:13:08 PM »
Hi guys
I'm having a problem When I do a copy of large files like ( 60 GB )  it takes a long time
and The system becomes very very slow

Cpu : intel 13
ram : 4 GB
nvidia 9500gt

size of ( / ) : 55 GB
swap : 4000 MB
any idea ?
« Last Edit: July 03, 2012, 03:21:06 PM by Old-Polack »

Offline pags

  • Hero Member
  • *****
  • Posts: 2602
  • Keep it clean.
Re: hang when copying files !!
« Reply #1 on: June 22, 2012, 01:06:06 PM »
Copying from where to where (local drive, USB, network)?

What process or commands are you using to copy (drag-n-drop in Dolphin, bash cp, rsync, etc.)?

What type of data (if that's Ok to ask ... uncompressed text-like, VDIs, compressed data)?

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #2 on: June 22, 2012, 02:44:47 PM »
from external hard disk to the hard disk in pc
just mark any file that i need to copy and ( copy ) then ( paste )

copying compressed and videos

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15506
  • ┌∩┐(◕_◕)┌∩┐
Re: hang when copying files !!
« Reply #3 on: June 22, 2012, 02:54:34 PM »
Additionally, what speed is being reported?

If you are using KDE a Notification icon should appear in the panel (and begin "circling") clicking on that brings up a window with details of transfer speed - how long it will take (not always very accurate) and so on.
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline pags

  • Hero Member
  • *****
  • Posts: 2602
  • Keep it clean.
Re: hang when copying files !!
« Reply #4 on: June 25, 2012, 06:11:00 AM »
from external hard disk to the hard disk in pc
just mark any file that i need to copy and ( copy ) then ( paste )

copying compressed and videos

So, I take it the external drive is USB?  IS the drive USB2 (or 3, etc.).  What is your chipset (is the port you're using USB2)?
Do you have the complete specs for your PC, as well as the external drive?
USB2 "bursts" to 480 mbps, but generally runs quite a bit slower, otherwise...it can impacted by other system activities...I could see large file copies "stuttering" under certain load conditions.

When it "hangs", can you check dmesg for any indicators of other possible causes. please?

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #5 on: June 28, 2012, 01:44:06 PM »
Additionally, what speed is being reported?

If you are using KDE a Notification icon should appear in the panel (and begin "circling") clicking on that brings up a window with details of transfer speed - how long it will take (not always very accurate) and so on.

transfer speed 1.5 Mbit/s , I previously used arch linux kde and the transfer speed is approximately 23 Mbit/s

same pc ,, same files
same way to copy

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #6 on: June 28, 2012, 01:51:56 PM »
from external hard disk to the hard disk in pc
just mark any file that i need to copy and ( copy ) then ( paste )

copying compressed and videos

So, I take it the external drive is USB?  IS the drive USB2 (or 3, etc.).  What is your chipset (is the port you're using USB2)?
Do you have the complete specs for your PC, as well as the external drive?
USB2 "bursts" to 480 mbps, but generally runs quite a bit slower, otherwise...it can impacted by other system activities...I could see large file copies "stuttering" under certain load conditions.

When it "hangs", can you check dmesg for any indicators of other possible causes. please?


yes the external drive is USB ( usb2 )
i will test again and when it hang i will use dmesg

BTW same thing "hang" when using virtualbox
what is the recomended space for
swap
root
home ?

i have : i3 speed 3.1 ghz
ram : 4 GB
Nvidia 9500 Gt
HDD : 500 GB

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #7 on: July 02, 2012, 09:01:59 AM »
still hang just when copy files

Code: [Select]
$ free -m
             total       used       free     shared    buffers     cached
Mem:          3914       3774        140          0       1359       1539
-/+ buffers/cache:        875       3038
Swap:         3812          0       3812

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6266
Re: hang when copying files !!
« Reply #8 on: July 02, 2012, 11:24:49 AM »
what version of pclinuxos are you using?
what kernel are you using?

Somebody else in another reported a system free when trying to copy a 10GB file to an external drive.The two could be related some how.
« Last Edit: July 02, 2012, 11:44:59 AM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #9 on: July 02, 2012, 10:51:28 PM »
what version of pclinuxos are you using?
what kernel are you using?

Somebody else in another reported a system free when trying to copy a 10GB file to an external drive.The two could be related some how.

this version : 02-02-2012
kernel : 2.6.38.8bfs , and i Used also 2.6.38.8bfs.pae "same problem"

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6266
Re: hang when copying files !!
« Reply #10 on: July 03, 2012, 04:47:24 AM »

There seem to be a lot of discussions on google world around your issue but nobody seem to know the solution.

kernel 3.2.x is in the repository.Try to use one of these kernels are check if the problem is still there.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #11 on: July 03, 2012, 01:40:11 PM »
ok i'll check kernel 3.2 it and come again

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #12 on: July 03, 2012, 01:42:21 PM »
BTW : i have now 4 GB , If i purchase a memory "another 2 GB"
Do you think it will solve my problem or not .

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6266
Re: hang when copying files !!
« Reply #13 on: July 03, 2012, 01:54:45 PM »
BTW : i have now 4 GB , If i purchase a memory "another 2 GB"
Do you think it will solve my problem or not .

The problem seem to be around memory catching, and it shows up when writing to destination file is much slower than reading from source file.

More memory will not solve the problem as the problem will come back if the transferred file is large enough.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: hang when copying files !!
« Reply #14 on: July 03, 2012, 03:05:07 PM »
Quote
The problem seem to be around memory catching, and it shows up when writing to destination file is much slower than reading from source file.

More memory will not solve the problem as the problem will come back if the transferred file is large enough.


I'm using now kernel : 3.2.18-pclos2.pae

There is an improvement  :) just simple hang , But compared to what came before and now .. now is better
also transfer rate now is : 35 MiB/s

Code: [Select]
raed@localhost ~]$ free -m
             total       used       free     shared    buffers     cached
Mem:          4006       2267       1738          0        568       1214
-/+ buffers/cache:        484       3521
Swap:         7993          0       7993

I will stay with this kernel
thanks to every one helped me

with my pleasure : RAED