From: Jim Fehlig <jfehlig@novell.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com, John Levon <levon@movementarian.org>
Subject: Re: That xenstored console leak...
Date: Fri, 18 Jan 2008 16:14:16 -0700 [thread overview]
Message-ID: <479132C8.2090802@novell.com> (raw)
Keir Fraser wrote:
>> Reverting changesets 15967 and 15957 in addition to the attached patch
>> fixes the leak and allows multiple localhost migrations. I'm not sure
>> what we get by nuking /vm/<uuid>/device/vif/<dev_num> anyway - other
>> than the problems we're seeing :-). vif appears to be the only device
>> stored in the /vm/<uuid>/device path anyway.
>>
>> I will continue testing with this setup ...
>>
>
> Isn't having two domains (even from the same vm) pointing at the same /vm/
> path a recipe for further bugs? Most of the lowlevel xend code doesn't seem
> to understand the concept that domains can map to the same vm, and could
> hence tread on each others toes via the /vm/ path.
>
> If we revert the two patches, what happens when you create/destroy lots of
> domains all with different uuids? I expect the leak will still exist in that
> case.
>
Sorry for the delay. I'm not sure why you think that the leak would
still exist with those changesets reverted. 15957 (and subsequently
15967) introduced the leak by creating a whole new /vm/<uuid>-<num>
path, leaving the previous path orphaned. But I certainly don't claim
to be an expert on this code so perhaps I'm not understanding your concern.
Nevertheless, I created/destroyed lots of domains on 3.2 with those
changesets reverted and do not see the leak. However I wouldn't expect
so since each domain has a different uuid and hence a different
/vm/<uuid> path, which is removed when the domain is destroyed.
BTW, with those changesets /vm/<uuid> path is leaked on save/restore,
reboot, and localhost migration. Perhaps the source domain in these
operations should be removing its /vm path on destruction?
Jim
next reply other threads:[~2008-01-18 23:14 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 23:14 Jim Fehlig [this message]
2008-01-18 23:18 ` That xenstored console leak Keir Fraser
2008-01-18 23:47 ` Jim Fehlig
2008-01-19 8:11 ` Keir Fraser
2008-01-25 2:00 ` Jim Fehlig
2008-01-25 7:44 ` Keir Fraser
[not found] ` <479A002E.6010802@novell.com>
2008-01-25 15:41 ` John Levon
2008-01-25 16:21 ` Jim Fehlig
-- strict thread matches above, loose matches on Subject: below --
2008-01-14 23:49 Jim Fehlig
2008-01-15 8:10 ` Keir Fraser
2008-01-11 17:39 John Levon
2008-01-11 19:24 ` Keir Fraser
2008-01-11 19:48 ` Jim Fehlig
2008-01-11 19:57 ` John Levon
2008-01-14 19:27 ` Jim Fehlig
2008-01-14 20:08 ` John Levon
2008-01-14 21:29 ` Keir Fraser
2008-01-14 21:48 ` John Levon
2008-01-14 21:54 ` Keir Fraser
2008-01-14 22:55 ` John Levon
2008-01-14 22:59 ` Daniel P. Berrange
2008-01-15 8:08 ` Keir Fraser
2008-01-15 8:06 ` Keir Fraser
2008-01-15 13:42 ` John Levon
2008-01-15 13:54 ` Keir Fraser
2008-01-15 13:57 ` Keir Fraser
2008-01-15 13:59 ` Keir Fraser
2008-01-15 14:31 ` John Levon
2008-01-15 14:37 ` Keir Fraser
2008-01-15 14:38 ` John Levon
2008-01-15 14:42 ` Keir Fraser
2008-01-15 15:59 ` Jim Fehlig
2008-01-15 16:11 ` John Levon
2008-01-15 16:28 ` Keir Fraser
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=479132C8.2090802@novell.com \
--to=jfehlig@novell.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=levon@movementarian.org \
--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.