Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Cubby
  3. Slow to delete files

Slow to delete files

Scheduled Pinned Locked Moved Solved Cubby
5 Posts 2 Posters 413 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pitadavespa
    wrote on last edited by pitadavespa
    #1

    Hi.

    I'm using Cubby on a NFS mounted volume (same DC, 0.2ms latency, 10Gbs network).
    Deleting files is very slow. But deleting a folder with those same files is (fairly) quick.

    I also tested Cubby on the same NVME disk as the server, and it's the same behaviour.

    There's a process, recollindex, that runs when files are deleted. It takes many minutes, in case of hundreds of files are deleted.
    Is there anything that can be done (maybe on my side) to avoid this?

    Thanks,
    Luis

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      If I understand correctly, you are comparing deleting the folder vs opening the folder->selectall->delete ?

      If that is the case, there are various causes actually, which we can optimize. For example the code does a network call per file to delete, which in turn triggers the indexer (recoll) for each and every file also. Much room to improve indeed. I don't think it is much related to your disk setup.

      P 1 Reply Last reply
      1
      • nebulonN nebulon

        If I understand correctly, you are comparing deleting the folder vs opening the folder->selectall->delete ?

        If that is the case, there are various causes actually, which we can optimize. For example the code does a network call per file to delete, which in turn triggers the indexer (recoll) for each and every file also. Much room to improve indeed. I don't think it is much related to your disk setup.

        P Offline
        P Offline
        pitadavespa
        wrote on last edited by
        #3

        @nebulon yes, exactly what you describe.

        Do you have any plans to implement those changes?
        Is it possible for you to do it? (I know this is a side project of yours)

        I'm really enjoying cubby. I tested several alternatives, mainly because cubby doesn't have user quotas, but I'd like to stay with cubby.

        Thanks,
        L

        1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          I have made an issue for that https://git.cloudron.io/cubby/cubby/-/issues/82 when I find time I will improve that. Should be possible.

          1 Reply Last reply
          1
          • P Offline
            P Offline
            pitadavespa
            wrote on last edited by
            #5

            Thank you.

            1 Reply Last reply
            0
            • nebulonN nebulon has marked this topic as solved on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search