* [uml-devel] x86_64, TT mode, no tmpfs - steadily growing number of threads
@ 2005-06-16 19:49 William Stearns
2005-06-16 22:16 ` [uml-devel] " Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: William Stearns @ 2005-06-16 19:49 UTC (permalink / raw)
To: ML-uml-devel; +Cc: Jeff Dike, William Stearns
Good afternoon, all,
With a FC2 x86_64 host with no skas patch (stock RH kernel) and no
tmpfs, I find that a 2.6.6 uml vm (happens to be i386 slackware) keeps
getting more and more pids out on the host. By mounting /tmp as tmpfs,
this effect goes away; the vm stays around 140 pids and doesn't appear
to grow any further.
When the PID leakage(?) was happening, I would usually contact the
owner of that VM once it was up around 8,000 host pid's and was occupying
around 4G of ram so we could recover all of those. :-)
The reason why I didn't have tmpfs mounted on that host was that
uml.ctl ends up there and for some reason I could not get networking to
work on x86_64 when /tmp was mounted tmpfs. By convincing uml_switch and
the vm itself to use /var/tmp/uml_ctl, networking worked again.
Cheers,
- Bill
---------------------------------------------------------------------------
"First rule: Never sweat the petty things, or pet the sweaty things."
(Courtesy of "Michael J. Dark" <darkmich@zebu.cvm.msu.edu>)
--------------------------------------------------------------------------
William Stearns (wstearns@pobox.com). Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org
--------------------------------------------------------------------------
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [uml-devel] Re: x86_64, TT mode, no tmpfs - steadily growing number of threads
2005-06-16 19:49 [uml-devel] x86_64, TT mode, no tmpfs - steadily growing number of threads William Stearns
@ 2005-06-16 22:16 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2005-06-16 22:16 UTC (permalink / raw)
To: William Stearns; +Cc: ML-uml-devel
On Thu, Jun 16, 2005 at 03:49:43PM -0400, William Stearns wrote:
> Good afternoon, all,
> With a FC2 x86_64 host with no skas patch (stock RH kernel) and no
> tmpfs, I find that a 2.6.6 uml vm (happens to be i386 slackware) keeps
> getting more and more pids out on the host. By mounting /tmp as tmpfs,
> this effect goes away; the vm stays around 140 pids and doesn't appear
> to grow any further.
From the usage of an x86 filesystem, I gather that this is the 2.6.4 UML
that has the compatibility code in it. No idea why it's leaking processes
(nor am I too interested in figuring it out unless it's still happening :-).
> The reason why I didn't have tmpfs mounted on that host was that
> uml.ctl ends up there and for some reason I could not get networking to
> work on x86_64 when /tmp was mounted tmpfs. By convincing uml_switch and
> the vm itself to use /var/tmp/uml_ctl, networking worked again.
You can specify the sockets you want uml_switch to use. /tmp is just the
default.
Jeff
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-16 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16 19:49 [uml-devel] x86_64, TT mode, no tmpfs - steadily growing number of threads William Stearns
2005-06-16 22:16 ` [uml-devel] " Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox