Results 1 to 8 of 8

Thread: Dolphin takes minutes to delete a file

  1. #1

    Default Dolphin takes minutes to delete a file

    Hello All,

    I have observed that Dolphin takes minutes to delete a file, even if it is just a few megabites big. I do not have a particularly fast computer, but for all the other operations (including moving files from one folder to another) Dolphin is very responsive; but when it comens to delete a file, it could take up to 10 minutes for the operation to be completed, and in the meanwhile the whole system "hangs up" until the operation is reported completed. I have noticed that while this operation happens, there's a process called trash.so that is reported by the system to wait for accessing the disk, which I probably should specify is not an SSD device.

    Anyone else has seen this happening before?

  2. #2

    Default Re: Dolphin takes minutes to delete a file

    Have you tried a Shift+Delete to permanently delete the file, instead of having it moved to the trash? That may help determine the issue.
    I don’t have anything to hide, but I don’t have anything I want to show you either.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: Dolphin takes minutes to delete a file

    This sounds like a file system issue. Which are we talking about ? Has the Trash been emptied lately ?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Default Re: Dolphin takes minutes to delete a file

    Quote Originally Posted by d3vnull View Post
    Have you tried a Shift+Delete to permanently delete the file, instead of having it moved to the trash? That may help determine the issue.
    Just tried that, exactly the same thing happens, two processes called "trash.so" seem to make the system hang. They do not use much memory, but between the two of them while active they use up to 20% of the processor and often they will wait for the disk to respond.
    I've copied here below some information on the process:


    Process 12107 - trash.so

    Summary

    The process trash.so (with pid 12107) is using approximately 2.7 MB of memory.
    It is using 1792.0 KB privately, and a further 13.1 MB that is, or could be, shared with other programs.
    Dividing up the shared memory between all the processes sharing that memory we get a reduced shared memory usage of 975.0 KB. Adding that to the private usage, we get the above mentioned total memory footprint of 2.7 MB.
    Library Usage

    The memory usage of a process is found by adding up the memory usage of each of its libraries, plus the process's own heap, stack and any other mappings, plus the stack of its one other thread.
    Private
    more
    1636 KB [heap]
    52 KB /usr/lib64/libKF5Solid.so.5.45.0
    28 KB [stack]
    8 KB /usr/lib64/libudev.so.1.6.6
    8 KB /usr/lib64/qt5/plugins/kf5/kio/trash.so

    Shared
    more
    2740 KB /usr/lib64/libQt5Core.so.5.9.4
    956 KB /lib64/libc-2.26.so
    780 KB [heap]
    624 KB /usr/lib64/libQt5Widgets.so.5.9.4
    440 KB /usr/lib64/libQt5Gui.so.5.9.4

    Totals

    Private 1792 KB (= 0 KB clean + 1792 KB dirty)
    Shared 13376 KB (= 10444 KB clean + 2932 KB dirty)
    Rss 15168 KB (= Private + Shared)
    Pss 2767 KB (= Private + Shared/Number of Processes)
    Swap 0 KB


    The thrash contains less than 1 GB of files, there should be plenty more space available

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: Dolphin takes minutes to delete a file

    What happens if you create a small file with
    Code:
    touch ~/testfile
    then remove it with
    Code:
    rm ~/testfile
    Does that take as long as deletion from Dolphin ?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: Dolphin takes minutes to delete a file

    Quote Originally Posted by Knurpht View Post
    This sounds like a file system issue. Which are we talking about ? Has the Trash been emptied lately ?
    I'm using ext4.
    I'm cleaning the thrash now, it may take a while (same issue as above even when cleaning the thrash folder)... I'll update you on the outcome

  7. #7

    Default Re: Dolphin takes minutes to delete a file

    Update:

    after a few hours in the attempt of deleting the trash, I have decided to kill the trash.so processes, which were sucking up more than 50% of processor usage, and went brutally to empty the trash from the command line using rm -rf.
    rm took just a few seconds to delete the folder content, so it is definitely the trash.so process that has some issues.

    If this is a bug, any idea what kind of useful informations I could add to it to report it?

  8. #8
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Dolphin takes minutes to delete a file

    First, just see if that cleaning of the trash has solved the problem.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •