Copying large/many files hangs the system

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
Post Reply
User avatar
RacerBG
Level 4
Level 4
Posts: 377
Joined: Sun Mar 03, 2013 4:31 am
Location: Bulgaria

Copying large/many files hangs the system

Post by RacerBG » Wed Feb 19, 2014 5:56 am

For some reason when I copy too large or too many files at once the system just hangs and I must stop the process. This happens already in Mint 13/14/15/16 and I can't keep my eyes closed anymore. I don't know from what depends this but I hope that in Mint 17 this finally will be resolved.
Proud of Linux Mint!

User avatar
eanfrid
Level 7
Level 7
Posts: 1859
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: Copying large/many files hangs the system

Post by eanfrid » Wed Feb 19, 2014 6:39 am

What does "top" say during this time ? Are the system load peek/average ok, is the i/o wait percentage correct ? If not, your disk(s) throughput is too low (or one them is not working correctly) and buffers/cache are filled with queued i/o operations waiting to be executed.

You can also try to change the disk i/o scheduler - for example - from "cfq" to "deadline".
Main desktop: Debian GNU/Linux Jessie 64bit - MATE
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox

User avatar
Flemur
Level 17
Level 17
Posts: 7400
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Copying large/many files hangs the system

Post by Flemur » Wed Feb 19, 2014 10:10 am

For some reason when I copy too large or too many files at once the system just hangs and I must stop the process.

How large? How many? How are you copying? File browser, cp, dd, ...?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

User avatar
RacerBG
Level 4
Level 4
Posts: 377
Joined: Sun Mar 03, 2013 4:31 am
Location: Bulgaria

Re: Copying large/many files hangs the system

Post by RacerBG » Wed Feb 19, 2014 2:24 pm

Flemur wrote:For some reason when I copy too large or too many files at once the system just hangs and I must stop the process.

How large? How many? How are you copying? File browser, cp, dd, ...?
2 GB + in size and 1 000 + in amount. I'm using simple copy/paste procedure at the file manager.
Proud of Linux Mint!

User avatar
Flemur
Level 17
Level 17
Posts: 7400
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Copying large/many files hangs the system

Post by Flemur » Wed Feb 19, 2014 2:33 pm

I'm using simple copy/paste procedure at the file manager.

Try 'cp' from a terminal.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

kurotsugi
Level 6
Level 6
Posts: 1038
Joined: Fri Jan 25, 2013 3:54 am

Re: Copying large/many files hangs the system

Post by kurotsugi » Wed Feb 19, 2014 2:52 pm

AFAIK there's a bug in nemo related to this issue. I don't know whether if it already solved or not.

User avatar
RacerBG
Level 4
Level 4
Posts: 377
Joined: Sun Mar 03, 2013 4:31 am
Location: Bulgaria

Re: Copying large/many files hangs the system

Post by RacerBG » Wed Feb 19, 2014 3:58 pm

kurotsugi wrote:AFAIK there's a bug in nemo related to this issue. I don't know whether if it already solved or not.
Looks like not. :|
Try 'cp' from a terminal.
When I have a GUI I'm avoiding it's use (the terminal).
Proud of Linux Mint!

User avatar
eanfrid
Level 7
Level 7
Posts: 1859
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: Copying large/many files hangs the system

Post by eanfrid » Thu Feb 20, 2014 3:53 am

Troubleshooting needs trying multiple ways to do the same thing. Per se, "Copying large/many files hangs the system" does not mean anything worth to diagnose.
Main desktop: Debian GNU/Linux Jessie 64bit - MATE
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox

User avatar
DataMan
Level 6
Level 6
Posts: 1234
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Midwest USA at /var/www
Contact:

Re: Copying large/many files hangs the system

Post by DataMan » Thu Feb 20, 2014 6:52 am

If you're so inclined, you might want to consider installing a decent 2 pane file manager. XFE is cross desktop compatible. Krusader is kde. I've been using Krusader for years with little or no problems. I routinely move +4G files around in Mint LTS MATE (Krusader) with no problems. I suspect you would get the same type of results with XFE.

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015

farque
Level 1
Level 1
Posts: 3
Joined: Thu Aug 28, 2014 2:24 pm

Fix?

Post by farque » Tue May 26, 2015 11:11 am

I was stuck on "preparing to move xxx files"
I have had this problem on linux mint 16 for a year now. I upgraded to mint 17 but no joy. it is very frustrating having to ctrl-alt-backspace every so often because it virtually stops while trying to move some files! :roll:

Today I accidentally read somewhere that gvfsd-metadata might be a culprit.

I logged in and out, then opened terminal and ran
pkill gvfsd-metadata

Right now it's virtually instantaneous to move files and doesn't hang. 8)

Don't ask me what the permanent solution is though but it's better than ctrl-alt-backspace.

User avatar
Flemur
Level 17
Level 17
Posts: 7400
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Copying large/many files hangs the system

Post by Flemur » Tue May 26, 2015 12:27 pm

RacerBG, your avatar image is 1065 x 961 pixels and > 600K; how about shrinking it down?
A 111x100 pixel png version is only 12K; a gif is 6K.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Post Reply

Return to “Other topics”