From: Nathan March <nathan@gt.net>
To: xen-devel@lists.xensource.com
Subject: Re: Bug in Xen 4.1.0: Xen leaks tapdisk2 processes
Date: Fri, 29 Apr 2011 12:39:14 -0700 [thread overview]
Message-ID: <4DBB13E2.9030103@gt.net> (raw)
In-Reply-To: <4D9305C2.5020900@hfp.de>
> in Xen 4.1.0 using "tap2:aio:/dev/sdaX" Xen leaks tapdisk2 processes.
> After running some VMs and terminating them, only dom0 running, "ps
> aux" shows:
I can definitely confirm this, on a machine with 2 active VMs:
xen1 ~ # ps auxf | grep -c tapdisk2
115
Although obviously many have been started/stopped/migrated away.
Stracing a few random ones shows them all waiting on fd8:
xen1 ~ # strace -p 11580
Process 11580 attached - interrupt to quit
select(8, [3 4 7], [], [], {425, 231813}^C <unfinished ...>
Process 11580 detached
xen1 ~ # strace -p 19110
Process 19110 attached - interrupt to quit
select(8, [3 4 7], [], [], {421, 228456}^C <unfinished ...>
Process 19110 detached
xen1 ~ # strace -p 20738
Process 20738 attached - interrupt to quit
select(8, [3 4 7], [], [], {415, 152712}^C <unfinished ...>
Process 20738 detached
xen1 ~ #
lsof:
tapdisk2 20738 root 3u unix 0xffff880018585340 0t0 10490566
/var/run/blktap-control/ctl20738
tapdisk2 20738 root 4u 0000 0,8 0 1000
anon_inode
tapdisk2 20738 root 5u unix 0xffff8800185858c0 0t0 10490568
socket
tapdisk2 20738 root 7u CHR 251,3 0t0 10490549
/dev/xen/blktap-2/blktap3
tapdisk2 20738 root 8u REG 0,22 2147483648 32367811
/mnt/xenDisks1/nathanxen2/swap (10.1.5.1:/vol/xenDisks1)
Let me know if I can grab any useful information for debugging.
- Nathan
next prev parent reply other threads:[~2011-04-29 19:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 10:28 Bug in Xen 4.1.0: Xen leaks tapdisk2 processes Andreas Kinzler
2011-04-29 19:39 ` Nathan March [this message]
2011-05-03 15:56 ` Ian Campbell
2011-05-03 17:18 ` Nathan March
2011-05-05 9:45 ` Ian Campbell
2011-05-06 18:27 ` Jim Fehlig
2011-05-06 23:25 ` Nathan March
2011-05-09 8:23 ` Ian Campbell
2011-05-10 19:17 ` Daniel Stodden
2011-05-11 8:43 ` Ian Campbell
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=4DBB13E2.9030103@gt.net \
--to=nathan@gt.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).