maindavfs2 - Support: sr #110474, mount going into weird state

 
 

sr #110474: mount going into weird state

Submitter:  Vikram <vikramgupta>
Submitted:  Mon 19 Apr 2021 10:12:22 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  _71007
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 May 2021 09:53:54 AM UTC, comment #1: 

It looks like your mount.davfs process crashed. Most probable reason: out of memory.

davfs2 needs same hundred bytes of working memory for every file and directory it learns to know. It will not release this memory unless the file is deleted and davfs2 can see that it is deleted. So if you are running davfs2 for a long time and your repository is great then davfs2 might eat up all of your memory and finally crash without error message.

You can try option "minimize_mem 1" to avoid this. davfs2 will then from time to time scann all the remembered files and delete those that have not been in use for some time. Please read "man davfs2.conf" for details.

Please also read the information in the secrets file about how entries should look. It is "mountpoint username password".

Werner

- <_71007>
Mon 19 Apr 2021 10:12:22 PM UTC, original submission:  

Hello, I have a davfs mount which goes into this weird state in a few days. The permissions go all weird - ???????.
And I am not able to unmount or remount the drive after that. The only solution is a restart.

Attaching screenshots for weird state and what happens when I try to remount it.

I mount using the command -
sudo mount -t davfs URL_OF_DRIVE /mnt/firmware-artifacts

I am using the /etc/davfs2/secrets file, the last line on which looks like -
"URL_OF_DRIVE username password"

I have also edited /etc/updatedb.conf and included the /mnt/firmware_artifacts path into PRUNEPATHS, AND add davfs and davfs2 into PRUNEFS. This way the mount does not try to index the entire drive.

This problem is breaking my mount every week. Not sure what am I doing incorrectly.




Vikram <vikramgupta>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #51288:  Weird_State.jpg added by vikramgupta (72KiB - image/jpeg)
file #51289:  Remount.jpg added by vikramgupta (47KiB - image/jpeg)

 

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 vikramgupta (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-15 _71007 StatusNone In Progress
        Assigned toNone _71007
    2021-04-19 vikramgupta Attached File- Added Weird_State.jpg, #51288
        Attached File- Added Remount.jpg, #51289

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code