?

Log in

Previous Entry | Next Entry

An OpenVZ Experiment, 1 year later

Some of you may recall that last December I did an experiment where I created 638 OpenVZ containers on an HP Proliant DL380 G5 machine with dual quad-core CPUs and 32GB of RAM. I stopped there because I ran into an error. Well, one of the OpenVZ / Parallels developers suggested a fix back in July both as a comment to my article and as a comment to the bug report... but somehow I overlooked it until I ran across it again the other day when cleaning out my email.

I finally got a chance to give it a try and sure enough it removed the limit I had run into (the sysctl kernel.pid_max default setting being too low) and I verified it by creating 700 containers.

At first I decided to stop there but then I got an email from Kir asking if disk space was going to end up being my real limitation. I'm wondering if Kir has seen other experiments that go to this extreme or if he is simply a good guesser (with some inside information)? Anyway, I decide to bump it up to 1,000 containers. Sure enough, the machine is handling it just fine.

I didn't do a completely new write up, I just wrote a few more comments to the original article and you can find it here:

An OpenVZ Experiment - How many containers?
http://www.montanalinux.org/openvz-experiment.html

Tags:

Comments

( 2 comments — Leave a comment )
(Anonymous)
Jan. 4th, 2010 12:05 am (UTC)
Very interesting! I've read the update to the article. I'll be waiting for the closing post in the series. ;-)

Cheers,
Gaston
(Anonymous)
Apr. 5th, 2010 05:39 pm (UTC)
kernel.pid_max
Hi,
Why when I set kernel.pid_max to 655360 and after few hours when I restart some container and enter in ps axwn output nothing


root@demo:~$ ps awxn
PID TTY STAT TIME COMMAND
root@demo:~$

after this I decrease kernel.pid_max to 65507 and everything work fine.
( 2 comments — Leave a comment )

Latest Month

July 2016
S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Page Summary

Powered by LiveJournal.com
Designed by Tiffany Chow