helpdavfs2 - Support: sr #109323, Impossible to copy more than 520...

 
 

sr #109323: Impossible to copy more than 520 files to the cache

Submitted by:  Petur <petur>
Submitted on:  Tue May 30 13:07:09 2017  
 
Category: NonePriority: 5 - Normal
Severity: 2 - MinorStatus: In Progress
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue May 30 18:03:17 2017, comment #1:

It is mostly normal behaviour. But you can improve the situation for your use case.

davfs2 is single threaded. Because of this uploads will block the file system interface. davfs2 tries to upload when the file system interface is idle, but this is not always possible. If the amount of cached files is growing davfs2 will have to upload some of them.

What you can do:

  • Use option "cache_size" to increase the size of the cache so it can hold all of your files. This should reduce the number of uploads while you are still writing to the davfs2 file system. But it probably will not stop all of them.
  • Increase the value of "delay_upload". It is by default 10 seconds. You may increase it to a value greater than the time needed to copy all the files into the cache.

Please use "man davfs2.conf" for details.

Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Tue May 30 13:07:09 2017, original submission:

When I copy files to my webdav mounted folder, my file manager thunar copies 520 files (~11Go) to this folder.

davfs2 uploads these files. Each time a file is send to the webdav server, thunar can copy one other file to the mounted folder.

I have always 520 files in the cache until there is less than 520 files to copy (the size of the cache changes a bit but not the the number of files).

It is not a bug and the transfer is done at the end. But the problem is I have the thunar window with the transfer always present. I cannot close and put in sleep my computer without canceling this thunar transfer.

I would rather prefer that thunar copies all files to the mounted folder. In this case, even if I shutdown my computer, the transfer will start again when I mount the webdav server.

1- Is it the normal behavior?
2- If yes, is it possible to change it to have all files in davfs2 cache.

P-S : I have plenty of space both in the server and in my computer.

Petur <petur>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wbaumann (Posted a comment)
  • -unavailable- added by petur (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue May 30 18:03:17 2017wbaumannStatusNone=>In Progress
      Assigned toNone=>wbaumann

    Back to the top


    Powered by Savane 3.1-cleanup1