On Tue, Feb 27, 2007 at 10:30:58AM +0900, Taisuke Yamada wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> OK, thanks to your instruction, I've recompiled the kernel,
> switched to static context configuration, and now I'm running
> around 500 virtual-hosts without a hitch.
sounds good to me ...
> However...I have no idea how I can reach to anywhere near
> 5000-8000 contexts...
>
> Do all the numbers below mean running 5000-8000 of
>
> chcontext --ctx <n> command &
basically, a context can be as small as a single
process, or as large as a complete Linux distro
of course, the number of contexts you can run
depends on the amount of resource you have available
(CPU, RAM, I/O, Network, ...)
> commands directly, instead of hosting virtual-environment with
> different context? Since each hosted environment takes several
> MBs of memory and ~100MB of disk space (at least with "hashified"
> Debian install), even 1000 seems remote to me.
well, multiply the used resources by 1000, get
a machine which matches that and you will be
able to run 1000+ guests ...
HTC,
Herbert
> >>> Yesterday, I tried to find out absolute maximum number of
> >>> virtualhosts I can host on my server, and got this message after
> >>> 40-50VMs:
> >> yes, known issue with the debian kernel, if you
> >> switch to mainline kernels, you will get to
> >> roughly 5000-8000 contexts ...
> >
> > That is, before you run out of pids. On my x86 test system with 384 MiB of
> > RAM, I was able to get 6073 contexts running each with a sleep 3600
> > process running before fork started failing with EAGAIN.
>
> Best Regards,
> - --
> Taisuke Yamada <tyamadajp_at_spam.rakugaki.org>, http://rakugaki.org/
> 2268 E9A2 D4F9 014E F11D 1DF7 DCA3 83BC 78E5 CD3A
>
> Message to my public address may not be handled in a timely manner.
> For a direct contact, please use my private address on my namecard.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFF44nS3KODvHjlzToRAhBHAKCV8urmxKNv6i6foG1eG2KEKhmj/ACgh5DU
> RdQzSjfIB5EF5+HHdIA9Pak=
> =y5ZB
> -----END PGP SIGNATURE-----
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Feb 27 02:33:09 2007