NFS mounts with glusterd on localhost - reliable or not?

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

 



Original Message -----
From: "Tomasz Chmielewski" <mangoo at wpkg.org>
To: "James Kahn" <jkahn at idea11.com.au>
Cc: "Gluster General Discussion List" <gluster-users at gluster.org>
Sent: Friday, July 13, 2012 1:51:15 PM
Subject: Re: NFS mounts with glusterd on localhost - reliable or not?

On 07/13/2012 02:59 PM, James Kahn wrote:
> Try 3.3.0 - 3.2.6 has issues with NFS in general (memory leaks, etc).

Upgrading to 3.3.0 would be quite a big adventure to me (production 
site, lots of traffic etc.). But I guess it would be justified, if it 
really fixes this bug.

The issue was reported earlier, but I don't see any references it was 
fixed in 3.3.0:


	Deadlock happens when writing a file big enough to fill the
	filesystem cache and kernel is trying to flush it to free some
	memory for glusterfsd which needs memory to commit some
	filesystem blocks to free some memory for glusterfsd...


http://gluster.org/pipermail/gluster-users/2011-January/006477.html
https://bugzilla.redhat.com/show_bug.cgi?id=GLUSTER-2320

****
This is a problem generic to fuse/userspace filesystems.
Also, in 3.3, since we have NLM implemented to provide locking for NFS,
Its not possible to mount from a system which has glusterd(more precisely,
a Gluster NFS process) running since both kernel nfs and gNFS will try to register
for NLM v4 with portmapper.


-- 
Tomasz Chmielewski
http://www.ptraveler.com


> -----Original Message-----
> From: Tomasz Chmielewski <mangoo at wpkg.org>
> Date: Thursday, 12 July 2012 5:56 PM
> To: Gluster General Discussion List <gluster-users at gluster.org>
> Subject: NFS mounts with glusterd on localhost - reliable
> or	not?
>
>> Hi,
>>
>> are NFS mounts made on a single server (i.e. where glusterd is running)
>> supposed to be stable (with gluster 3.2.6)?
>>
>>
>> I'm using the following line in /etc/fstab:
>>
>>
>> localhost:/sites /var/ftp/sites nfs _netdev,mountproto=tcp,nfsvers=3,bg 0
>> 0
>>
>>
>> The problem is, after some time (~1-6 hours), I'm no longer able to
>> access this mount.
>>
>> dmesg says:
>>
>> [49609.832274] nfs: server localhost not responding, still trying
>> [49910.639351] nfs: server localhost not responding, still trying
>> [50211.446433] nfs: server localhost not responding, still trying
>>
>>
>> What's worse, whenever this happens, *all* other servers in the cluster
>> (it's a 10-server distributed volume) will destabilise - their load
>> average will grow, and eventually their gluster mount becomes
>> unresponsive, too (other servers use normal gluster mounts).
>>
>> At this point, I have to kill all gluster processes, start glusterd
>> again, mount (on servers using gluster mount).
>>
>>
>> Is it expected behaviour with gluster and NFS mounts on localhost? Can
>> it be caused by some kind of deadlock? Any workarounds?
>>
>>
>>
>> --
>> Tomasz Chmielewski
>> http://www.ptraveler.com
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
>>
>
>


_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux