Re: glusterfs(3.2.7) hang when making the same dir at the same time

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

 



This looks like a support question to me. If you are asking a development question, you might want to use strace or gdb to figure out where the hang is, file a bug report on bugzilla, and submit your patch(es) to gerrit.

Song <gluster@xxxxxxx> wrote:

Hi,

 

Recently, glusterfs will hang when we do stress testing. To find the reason, we write a test shell script.

 

We run the test shell on 5 servers at the same time. For a moment, all test programming is hang.

When execute command ??d /xmail/gfs1/scl_test/001?? also hang.

 

The test shell script:

 

for((i=1;i<=100;i++));

do

rmdir /xmail/gfs1/scl_test/001

if [ "$?" == "0" ];

then

echo "delete dir success"

fi

 

mkdir /xmail/gfs1/scl_test/001

if [ "$?" == "0" ];

then

echo "create dir success"

fi

 

echo "1111" >>/xmail/gfs1/scl_test/001/001.txt

echo "2222" >>/xmail/gfs1/scl_test/001/002.txt

echo "3333" >>/xmail/gfs1/scl_test/001/003.txt

 

rm -rf /xmail/gfs1/scl_test/001/001.txt

rm -ff /xmail/gfs1/scl_test/001/002.txt

rm -rf /xmail/gfs1/scl_test/001/003.txt

done

 

??xmail/gfs1??is native mount point of gluster volume gfs1.

 

Gluster volume info is as below:

[root@d181 glusterfs]# gluster volume info

 

Volume Name: gfs1

Type: Distributed-Replicate

Status: Started

Number of Bricks: 30 x 3 = 90

Transport-type: tcp

 

 

Please help me, Thanks!

 



Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
https://lists.nongnu.org/mailman/listinfo/gluster-devel

[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