[Openais] stuck on sem_timedwait
David Teigland
teigland at redhat.com
Wed Apr 14 05:55:03 PDT 2010
On Wed, Apr 14, 2010 at 12:57:14PM +0200, Jan Friesse wrote:
> David,
> in that case, corosync exits (so it is really not running) or not?
Yep, the corosync process is gone.
>
> David Teigland wrote:
> > When corosync exits, my application (fenced) gets stuck.
> >
> > # strace -p 2005
> > Process 2005 attached - interrupt to quit
> > restart_syscall(<... resuming interrupted call ...>) = -1 ETIMEDOUT (Connection
> > timed out)
> > poll([{fd=14, events=0}], 1, 0) = 1 ([{fd=14, revents=POLLNVAL}])
> > gettimeofday({1271185487, 264}, NULL) = 0
> > futex(0x7f0a66f5b028, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 0, {1271185489, 0}
> > , ffffffff) = -1 ETIMEDOUT (Connection timed out)
> > poll([{fd=14, events=0}], 1, 0) = 1 ([{fd=14, revents=POLLNVAL}])
> > gettimeofday({1271185489, 198}, NULL) = 0
> > futex(0x7f0a66f5b028, FUTEX_WAIT_BITSET|FUTEX_CLOCK_REALTIME, 0, {1271185491, 0}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
> >
> > 0x000000338d00d417 in sem_timedwait () from /lib64/libpthread.so.0
> > Missing separate debuginfos, use: debuginfo-install cman-3.0.7-1.fc12.x86_64
> > (gdb) bt
> > #0 0x000000338d00d417 in sem_timedwait () from /lib64/libpthread.so.0
> > #1 0x0000003713e02311 in reply_receive (ipc_instance=0x2379ed0,
> > res_msg=0x7ffff68c6a50, res_len=16) at coroipcc.c:476
> > #2 0x0000003713e02e7e in coroipcc_msg_send_reply_receive (
> > handle=3265522690949120001, iov=0x7ffff68c6a80, iov_len=1,
> > res_msg=0x7ffff68c6a50, res_len=16) at coroipcc.c:1045
> > #3 0x0000003713a01ed3 in cpg_finalize (handle=5902762718137417729)
> > at cpg.c:238
> > #4 0x0000000000403542 in close_cpg_daemon ()
> > at /root/stable3/fence/fenced/cpg.c:2311
> > #5 0x000000000040b26d in loop (argc=<value optimized out>,
> > argv=<value optimized out>) at /root/stable3/fence/fenced/main.c:831
> > #6 main (argc=<value optimized out>, argv=<value optimized out>)
> > at /root/stable3/fence/fenced/main.c:1045
> >
> > _______________________________________________
> > Openais mailing list
> > Openais at lists.linux-foundation.org
> > https://lists.linux-foundation.org/mailman/listinfo/openais
More information about the Openais
mailing list