From: Anthony Liguori <anthony@codemonkey.ws>
To: xen-devel@lists.xensource.com
Subject: Re: problem restarting xenstored
Date: Thu, 07 Dec 2006 10:54:08 -0600 [thread overview]
Message-ID: <45784730.9010909@codemonkey.ws> (raw)
In-Reply-To: <45783FA7.76E4.0078.0@novell.com>
Jan Beulich wrote:
> As any other daemon, I'd assume it should be possible to restart xenstored (i.e.
> if it crashed or if, during development, a fix was made to it that needs to be
> tested). However, as I learned after over a day of digging, things don't work
> anymore after doing so: Since the watches are transient, they're lost with the
> daemon going away.
> Right now I specifically need this in already mentioned scenarios where I want
> to not touch the base installation of a system or need parallel versions installed,
> but as described above I see the general issue broader (e.g. it obviously
> doesn't make sense to try to start xenstored from 'xend restart' because of
> described problems).
> For some reason, this wasn't a big problem when the base installation was
> 3.0.2-based - apparently something else prevented xenbus' event channel
> handler to get triggered when the 3.0.2 xenstored loaded, and hence all the
> needed watches got installed only when the proper version was loaded the
> first time, giving the impression that things work as expected (until perhaps
> reloading it a second time).
>
> Any suggestions on how to overcome that would be very welcome.
Watches have to become persistent in XenStore. This has been a TODO
since the very beginning that noone has ever tackled. Currently watches
are only stored in memory so if you restart XenStore any active watch
will never be fired.
How much of an effect this has on your system depends on the state any
running domains are in and what functions you use.
Regards,
Anthony Liguori
> Thanks, Jan
prev parent reply other threads:[~2006-12-07 16:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 15:21 problem restarting xenstored Jan Beulich
2006-12-07 15:53 ` Ewan Mellor
2006-12-07 16:11 ` Jan Beulich
2006-12-07 16:24 ` Steven Hand
2006-12-07 16:33 ` Jan Beulich
2006-12-07 16:14 ` John Levon
2006-12-07 16:54 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45784730.9010909@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.