Problem with little write/read files in Gluster 3.0.0

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

 



Hi all,

I have a problem here. I am using a gluster file system as a simple
distributed storage (one storage server and multiple clients). I want to
put php sessions inside this partition. 

In GlusterFS 2.0.9, it worked very well. PHP could write and read as
quickly as possible. But in 3.0.0, PHP successfully writes files but can
not read anything and freezes (juste after the writing). However, the
gluster partition remains available et readable. Juste the quick
write/read seems not to work.

As anyone already encountered this problem ?

Thanks for your help !

glusterfsd.vol :
volume posix1
  type storage/posix
  option directory /data
end-volume

volume locks1
    type features/locks
    subvolumes posix1
end-volume

volume brick1
    type performance/io-threads
    option thread-count 8
    subvolumes locks1
end-volume

volume server-tcp
    type protocol/server
    option transport-type tcp
    option auth.addr.brick1.allow *
    option transport.socket.listen-port 6996
    option transport.socket.nodelay on
    subvolumes brick1
end-volume

glusterfs.vol :
volume sys-zen-1
    type protocol/client
    option transport-type tcp
    option remote-host sys-zen
    option transport.socket.nodelay on
    option transport.remote-port 6996
    option remote-subvolume brick1
end-volume

volume writebehind
    type performance/write-behind
    option cache-size 4MB
    subvolumes sys-zen-1
end-volume

volume readahead
    type performance/read-ahead
    option page-count 4
    subvolumes writebehind
end-volume

volume iocache
    type performance/io-cache
    option cache-size 1GB
    option cache-timeout 1
    subvolumes readahead
end-volume

volume quickread
    type performance/quick-read
    option cache-timeout 1
    option max-file-size 64kB
    subvolumes iocache
end-volume

volume statprefetch
    type performance/stat-prefetch
    subvolumes quickread
end-volume

Best regards.
Sam





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

  Powered by Linux