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

 
 

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

Submitter:  Petur <petur>
Submitted:  Tue 30 May 2017 01:07:09 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  In Progress
Privacy:  Public Assigned to:  _71007
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 30 May 2017 06:03:17 PM UTC, 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

- <_71007>
Tue 30 May 2017 01:07:09 PM UTC, 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-26 _71007 Open/ClosedOpen Closed
    2017-05-30 _71007 StatusNone In Progress
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code