savannah-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-users] Davfs2 doesn't terminate davfs2 pid when connection tim


From: Richard Crane
Subject: [Savannah-users] Davfs2 doesn't terminate davfs2 pid when connection times out
Date: Thu, 13 Feb 2014 21:49:20 +0000 (GMT)

Hello,

I'm running the following configuration:

CentOS release 5.9 
neon-0.25.5-10.el5_4.1
davfs2-1.4.6-1.el5.rf

I'm testing davfs2 by connecting from a Centos server to dav_box_com. It works fine as long as the server dav_box_com 
is accessible on the internet.

I asked my self what will happen if dav_box_com is not responding or if it's responding but the remote share doesn't 
exist.

I went ahead and mapped dav_box_com on my /etc/hosts file to a non accessible ip address and this is what happened:

1. When I try mounting using the following command line:

mount -t davfs dav_box_com/dav /mnt/box.com 

2. The server creates the following process:

[Centos]# ps -ef | grep mount
davfs2   17925     1  0 15:16 pts/0    00:00:00 /sbin/mount.davfs  dav_box_com/dav /mnt/box_com -o rw

3. This process stays there indefinitely creating the following messages:

[Centos]# /sbin/mount.davfs: connection timed out two times;
trying one last time
[Centos]# /sbin/mount.davfs: connection timed out two times;
trying one last time
/sbin/mount.davfs: server temporarily unreachable;
mounting anyway

4. After 3 times trying the "df -h" will hang.

5. The davfs2 process stays hung:

[Centos]# ps -ef | grep mount
davfs2   17925     1  0 15:16 pts/0    00:00:00 /sbin/mount.davfs dav_box_com/dav /mnt/box.com -o rw


I checked all the davfs2 config options and nothing is letting me change this behavior.

How can I try to mount dav_box_com/dav in a way that if it doesn't mount properly because is not finding the server or 
the share, it will completely terminate any davfs2 process ??

Thanks in advanced.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]