[Gluster-users] How to debug a hanging client?

Martin Schenker martin.schenker at profitbricks.com
Fri May 13 13:35:56 UTC 2011

Hi all!

We have on server/client where the client part hangs quite often.

Strace shows:
0 root at de-blnstage-c2-pserver12:~ # strace -Tfv -p 12407 (
Process 12407 attached with 6 threads - interrupt to quit
[pid 12417] futex(0x2cb98a8, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 12412] read(12,  <unfinished ...>
[pid 12411] read(11,  <unfinished ...>
[pid 12410] futex(0x2cb9330, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 12408] rt_sigtimedwait([HUP INT TRAP BUS USR1 USR2 PIPE ALRM TERM CHLD

I can read from the server mountpoint just fine but any access to the fuse
mounted glusterfs hangs and can only be killed.

Any idea how to resolve this? If I try to kill all glusterfs process the
kill -9 on the process

root     12407     1  0 May11 ?        00:00:01 /usr/sbin/glusterfs
--log-level=NORMAL --volfile-id=storage0 --volfile-server=localhost

will hang as well. Just like an NFS server hang... waiting for I/O

Thanks, Martin

More information about the Gluster-users mailing list