NEMO and CP super slow while transferring file

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

NEMO and CP super slow while transferring file

Post by overkill22 »

I was using nemo without problem, but today, I'm not able to transfer 1Gb file to the usb pen.
Why? I tried to reboot, format the usb, change file, but nothimg, it get stuck at 98% more or less...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8178
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Nemo couldn't finish to transfer file

Post by kc1di »

how big is the pen drive?

That sometimes happens if the drive it low on space.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Nemo couldn't finish to transfer file

Post by overkill22 »

kc1di wrote:how big is the pen drive?

That sometimes happens if the drive it low on space.
Pen drive 4Gb, was empty. I used gparted to format it twice. Then I changed pen drive, and the result was the same. Until two days ago I had no problems at all...
User avatar
all41
Level 19
Level 19
Posts: 9520
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Nemo couldn't finish to transfer file

Post by all41 »

Hi,
Try temporarily creating a new user, log out and back in as the new user, and try transferring the file from there.
Everything in life was difficult before it became easy.
User avatar
kc1di
Level 18
Level 18
Posts: 8178
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Nemo couldn't finish to transfer file

Post by kc1di »

overkill22 wrote:
kc1di wrote:how big is the pen drive?

That sometimes happens if the drive it low on space.
Pen drive 4Gb, was empty. I used gparted to format it twice. Then I changed pen drive, and the result was the same. Until two days ago I had no problems at all...
What files system did you format it as?
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Nemo couldn't finish to transfer file

Post by overkill22 »

kc1di wrote:
overkill22 wrote:
kc1di wrote:how big is the pen drive?

That sometimes happens if the drive it low on space.
Pen drive 4Gb, was empty. I used gparted to format it twice. Then I changed pen drive, and the result was the same. Until two days ago I had no problems at all...
What files system did you format it as?
fat32.

I tried to clean the cache with

Code: Select all

sudo sh -c 'echo 1 >/proc/sys/vm/drop_caches'
as it was full, but nothing changed.

Edit:
actually it is stuck at 61% now and don't move. I'm trying to copy 2,5Gb of files.


I still have to try to do the new user though.
User avatar
all41
Level 19
Level 19
Posts: 9520
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Nemo couldn't finish to transfer file

Post by all41 »

If the new user doesn't work try erasing the entire mbr on the pen drive:

Code: Select all

sudo shred -s $((2048*512)) -vzn0 /dev/sdx 
replace sdx with your actual pen drive designation (often sdb--make sure to get this part right)
gparted or the disks utility will tell you.

Then in gparted under Device in the toolbar create a new partition table (msdos)
Then under Partition in the toolbar create a new partition.
Usually Fat 32 unless you anticipate transferring individual files over 4gb
then choose ntfs partition instead and it will be cross-platform compatible
Everything in life was difficult before it became easy.
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Nemo couldn't finish to transfer file

Post by overkill22 »

still incredibly slow.... now it is 2 minutes I'm stuck at 99%
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Nemo couldn't finish to transfer file

Post by overkill22 »

nothing, I tried everything but nemo will hang forever and can't transfer a simple 1Gb file...

any suggestion?
DrHu

Re: Nemo couldn't finish to transfer file

Post by DrHu »

User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: Nemo couldn't finish to transfer file

Post by overkill22 »

DrHu wrote:Not sure, there do seem to be some issues
viewtopic.php?f=47&t=117647

https://en.wikipedia.org/wiki/Compariso ... e_managers
--comparison of file managers

Consider trying another file manager, eg Gigolo
http://www.uvena.de/gigolo/help.html

Or better yet, a two pane file manager
https://en.wikipedia.org/wiki/Midnight_Commander
https://en.wikipedia.org/wiki/GNOME_Commander
https://en.wikipedia.org/wiki/Double_Commander
How many memories with norton commander...aahah!

However, when I first installed mint there were no issues at all. everything started after a while, but I really don't know what causes this...
User avatar
overkill22
Level 4
Level 4
Posts: 450
Joined: Fri Jan 16, 2015 6:09 am

Re: NEMO and CP super slow while transferring file

Post by overkill22 »

Guys,
I tried to transfer a 882.1MB file from the computer to the pendrive with both, nemo and cp.

Either way, it takes more than 5 minutes when the process should be few seconds (I'm using USB 3.0).

I can see that in the pendrive the file is 882.1MB, but in the process window of nemo, it get stuck after few seconds on 833.4.
I guess the same happen while using cp, as I tried to use -v, but it didn't show me any useful information.

I don't know if it could be useful, but just know while transferring file, at one point, my USB mouse get stuck, it stopped working, and then when the file transferring was complete, it start work again.
Could be a USB problem?
The computer is brand new btw.

edit: another test I did shows the file being transferred 100% in 3 seconds, then the process hang for 3 minutes.

Code: Select all

rsync -ah --progress /home/overkill22/Videos/myfile.mkv /media/overkill22/PENDRIVE/
sending incremental file list
myfile.mkv
        882.06M 100%  265.19MB/s    0:00:03 (xfr#1, to-chk=0/1)
I did the opposite, transferring the file from the USB to the computer, and the process took 4 seconds or less, with all the 3 methods.
I tried to switch pendrive, but copying from pc>pendrive is the same with 3 different pendrives on different USB port

edit 2:
I tried THIS METHOD and HERE

Code: Select all

sudo -i
echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes
The process doesn't hang, but takes forever to finish, the copy speed is super low, between 4 and 7Mb/s
So I went back to the previous version with

Code: Select all

echo 0 > /proc/sys/vm/dirty_background_bytes
echo 0 > /proc/sys/vm/dirty_bytes
Locked

Return to “Software & Applications”