All of lore.kernel.org
 help / color / mirror / Atom feed
* "xm save" trouble -- deadlock?
@ 2005-11-01 16:43 Gerd Knorr
  2005-11-01 17:15 ` Gerd Knorr
  0 siblings, 1 reply; 13+ messages in thread
From: Gerd Knorr @ 2005-11-01 16:43 UTC (permalink / raw)
  To: xen-devel

   Hi,

"xm save" doesn't work for me, the command just blocks forever.  In the 
process list it looks like this:

  6567 ?        Ssl    0:00 python /usr/sbin/xend restart
  7978 ?        SL     0:00  \_ /usr/lib/xen/bin/xc_save 14 17 10 0 0 0

xc_save is blocked, in a write call to stderr:

   master-xen root /vm/ttylinux# strace -p7978
   Process 7978 attached - interrupt to quit
   write(2, "FNI 28 : [10000004,815] pte=2b92"..., 80 <unfinished ...>
   Process 7978 detached

stderr is a pipe to xend:

   master-xen root /vm/ttylinux# ll /proc/7978/fd/2
   l-wx------  1 root root 64 Nov  1 17:25 /proc/7978/fd/2 -> pipe:[40419]
   master-xen root /vm/ttylinux# ll /proc/*/fd/* | grep 40419
   lr-x------  1 root root 64 Nov  1 17:25 /proc/6567/fd/22 -> pipe:[40419]
   l-wx------  1 root root 64 Nov  1 17:25 /proc/7978/fd/2 -> pipe:[40419]

xend in turn doesn't read from the pipe but is waiting for some lock:

   master-xen root /vm/ttylinux# strace -p6567
   Process 6567 attached - interrupt to quit
   futex(0x8087370, FUTEX_WAIT, 0, NULL <unfinished ...>
   Process 6567 detached

Ideas anyone what is going on here?

   Gerd

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-11-03  8:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 16:43 "xm save" trouble -- deadlock? Gerd Knorr
2005-11-01 17:15 ` Gerd Knorr
2005-11-01 18:54   ` Ewan Mellor
2005-11-02  9:25     ` Gerd Knorr
2005-11-02 10:04       ` Ewan Mellor
2005-11-02 11:24         ` Gerd Knorr
2005-11-02 15:35         ` Gerd Knorr
2005-11-02 15:41           ` Ewan Mellor
2005-11-02 17:23             ` Gerd Knorr
2005-11-01 18:58   ` Ewan Mellor
2005-11-02 11:34     ` Gerd Knorr
2005-11-02 18:28       ` Kip Macy
2005-11-03  8:53         ` Gerd Knorr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.