[Gluster-devel] Locking Problem with Mozilla Firefox
Anand Avati
avati at zresearch.com
Mon May 12 07:22:39 UTC 2008
Torsten,
posix-locks returning -1/EAGAIN is not an error condition.
avati
On 10/05/2008, Torsten.Schulle at ksk-stendal.de <
Torsten.Schulle at ksk-stendal.de> wrote:
>
>
> Hi glusterfan's,
>
> I mount the /home directory with gluster. If I start Mozilla Firefox, I get
> some lockings errors.
>
> 2008-05-10 17:53:01 E [fuse-bridge.c:2361:fuse_setlk_cbk] glusterfs-fuse:
> 16695: ERR => -1 (11)
>
> On every start of Firefox, I get this error. I like to use the server for
> many user. If ervery user start Firefox on ervery day I get many errors in
> the logfiles.
>
> I test the situation a one server. Glusterserver and Glusterclient are on
> the same machine.
>
> My idea for the future is to replicate some important directories (also
> /home) on two server per afr. At the moment i test it ony on one server.
>
> In the first i test it without the posix-locks feature, but then i get also
> problems with openoffice (The start of openoffice freeze!).
> If i use the posix-lockes feature openoffice works fine. Only Firefox
> produce errors.
>
> I use opensuse 10.3 with the update's from 09.06.2008
>
> Kernel: 2.6.22.17-0.1-bigsmp
> fuse-2.7.2glfs10
>
> My server is a Proliant DL380G5 with 8GB memory. HDD Proliant P400 Raid5
> Controller with 4x72GB.
>
> My question:
>
> Is my configuration wrong?
> Can I use any options to correct the problem?
> Can I ignore the error's?
> Can I suppress the error's?
>
> ========================================
> glusterfs-server.vol
>
> volume home
> type storage/posix
> option directory /glusterfs/partition5/home
> end-volume
>
> volume home_locks
> type features/posix-locks
> option mandatory on
> subvolumes home
> end-volume
>
> volume server type protocol/server
> option transport-type tcp/server
> option bind-address 127.0.0.1
> subvolumes home_locks
> option auth.ip.home_locks.allow
> end-volume
> =====================================
> glusterfs-client.vol
>
> volume client
> type protocol/client
> option transport-type tcp/client
> option remote-host 127.0.0.1
> option remote-subvolume home_locks
> end-volume
>
> volume readahead
> type performance/read-ahead
> option page-size 1MB
> option page-count 2
> subvolumes client
> end-volume
>
> volume iocache
> type performance/io-cache
> option page-size 256KB
> option page-count 2
> subvolumes readahead
> end-volume
>
> volume writeback
> type performance/write-behind
> option aggregate-size 1MB
> option flush-behind off
> subvolumes iocache
> end-volume
>
> =======================================================
>
> glusterfsd.log
>
> 2008-05-10 17:52:13 E [posix-locks.c:1148:pl_lk] home_locks: returning
> EAGAIN
> 2008-05-10 17:53:01 E [posix-locks.c:1148:pl_lk] home_locks: returning
> EAGAIN
> 2008-05-10 17:53:20 E [posix-locks.c:1148:pl_lk] home_locks: returning
> EAGAIN
> 2008-05-10 17:53:30 E [posix-locks.c:1148:pl_lk] home_locks: returning
> EAGAIN
>
> =======================================================
>
> glusterfs.log
>
> 2008-05-10 17:49:32 W [client-protocol.c:280:client_protocol_xfer] client:
> attempting to pipeline request type(1) op(34) with handshake
> 2008-05-10 17:49:32 W [fuse-bridge.c:389:fuse_entry_cbk] glusterfs-fuse: 2:
> (34) / => 1 Rehashing 0/0
> 2008-05-10 17:51:35 W [fuse-bridge.c:402:fuse_entry_cbk] glusterfs-fuse:
> 701: (34)
> /schulle/.nx/C-s28030846302-1000-24CB3B8C4CD892C10A603E6E9AE1DA93/authority
> => 12353613 Rehashing because st_nlink less than dentry maps
> 2008-05-10 17:51:35 W [fuse-bridge.c:402:fuse_entry_cbk] glusterfs-fuse:
> 721: (34) /schulle/.Xauthority => 12353626 Rehashing because st_nlink less
> than dentry maps
> 2008-05-10 17:51:41 W [fuse-bridge.c:402:fuse_entry_cbk] glusterfs-fuse:
> 6890: (34) /schulle/.ICEauthority => 12354084 Rehashing because st_nlink
> less than dentry maps
> (Through this point start the KDE session!!!)
> 2008-05-10 17:52:13 E [fuse-bridge.c:2361:fuse_setlk_cbk] glusterfs-fuse:
> 14521: ERR => -1 (11) (Start firefox!)
> 2008-05-10 17:52:13 E [client-protocol.c:1760:client_fsyncdir] client:
> Function not implemented
> 2008-05-10 17:52:13 E [fuse-bridge.c:922:fuse_err_cbk] glusterfs-fuse:
> 14566: (25) ERR => -1 (38)
> 2008-05-10 17:53:01 E [fuse-bridge.c:2361:fuse_setlk_cbk] glusterfs-fuse:
> 16695: ERR => -1 (11) (Start firefox!)
> 2008-05-10 17:53:20 E [fuse-bridge.c:2361:fuse_setlk_cbk] glusterfs-fuse:
> 18492: ERR => -1 (11) (Start firefox!)
> 2008-05-10 17:53:30 E [fuse-bridge.c:2361:fuse_setlk_cbk] glusterfs-fuse:
> 20247: ERR => -1 (11) (Start firefox!)
>
> Best Regard's
>
> Torsten Schulle
>
> Kreissparkasse Stendal
> EDV-Organisation [082]
> Arneburger Str. 28
> 39576 Stendal
>
>
> Tel.: 03931/60-3215
>
> Fax: 03931/604059
>
> E-Mail: torsten.schulle at ksk-stendal.de
>
> Internet: www.ksk-stendal.de
>
>
>
> Handelsregister:
> Amtsgericht Stendal, HRA 600
>
> Angebote, Produkte, Homebanking, Konditionen, Preise und vieles mehr finden
> Sie jederzeit und stets aktuell auf unserer Internetseite.
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
--
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.
More information about the Gluster-devel
mailing list