Results 1 to 9 of 9
-
02-29-2012, 12:21 PM #1Web Hosting Guru
- Join Date
- Jan 2011
- Location
- Vancouver, Canada
- Posts
- 331
OpenVZ - containers on one server accessing all RAM
I'm scratching my head about this. We deployed a new OpenVZ server a while ago, and it seems like despite whatever we set in the VEID.conf file the containers are able to access the full amount of RAM on the server. We use the same configuration file on another OpenVZ server, and it doesn't have this problem.
New Server
beancounters
Code:400: kmemsize 13670642 28370097 60000000 66000000 0 lockedpages 0 8 9223372036854775807 9223372036854775807 0 privvmpages 147630 366852 471859 524288 0 shmpages 22 358 9223372036854775807 9223372036854775807 0 dummy 0 0 0 0 0 numproc 94 165 200 200 0 physpages 85027 295311 0 262144 0 vmguarpages 0 0 262144 262144 0 oomguarpages 85027 295311 233395 233395 0 numtcpsock 33 100 100 100 1 numflock 6 28 9223372036854775807 9223372036854775807 0 numpty 0 2 9223372036854775807 9223372036854775807 0 numsiginfo 0 15 9223372036854775807 9223372036854775807 0 tcpsndbuf 307160 649144 2000000 3000000 0 tcprcvbuf 242040 2009736 2000000 3000000 64 othersockbuf 77520 804152 2000000 3000000 0 dgramrcvbuf 0 16944 250000 250000 0 numothersock 48 100 100 100 1622 dcachesize 566357 803195 4000000 4400000 0 numfile 3680 4879 9223372036854775807 9223372036854775807 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 183 183 9223372036854775807 9223372036854775807 0
RAM check:
Code:# vzctl enter 400 entered into CT 400 # free -m total used free shared buffers cached Mem: 32112 31813 298 0 3028 21276 -/+ buffers/cache: 7508 24604 Swap: 34175 0 34175
Other server
beancounters
Code:1100: kmemsize 23358544 46426064 60000000 66000000 1090 lockedpages 0 8 9223372036854775807 9223372036854775807 0 privvmpages 152814 482265 471859 524288 680703 shmpages 3382 6742 9223372036854775807 9223372036854775807 0 dummy 0 0 0 0 0 numproc 132 200 200 200 369358 physpages 83754 384021 0 262144 0 vmguarpages 0 0 262144 262144 0 oomguarpages 83754 384021 233395 233395 0 numtcpsock 77 150 150 150 773702 numflock 5 70 9223372036854775807 9223372036854775807 0 numpty 0 2 9223372036854775807 9223372036854775807 0 numsiginfo 0 166 9223372036854775807 9223372036854775807 0 tcpsndbuf 616376 2087808 2000000 3000000 4767700347 tcprcvbuf 254888 2014968 2000000 3000000 2901 othersockbuf 144008 2004560 2000000 3000000 155 dgramrcvbuf 0 249064 250000 250000 48120 numothersock 108 150 150 150 5448055 dcachesize 1224422 1530536 4000000 4400000 0 numfile 6526 9370 9223372036854775807 9223372036854775807 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 775 1036 9223372036854775807 9223372036854775807 0
Code:# vzctl enter 100 entered into CT 100 # free -m total used free shared buffers cached Mem: 921 356 565 0 0 0 -/+ buffers/cache: 356 565 Swap: 1048 0 1048
Both VPS's have almost an identical .conf file (except for their IPs and Hostnames obviously).
The containers are on 2 different servers, and the new server seems to be having the problem with all containers on it. So I'm thinking it's some setting in OpenVZ that we've overlooked, but I can't for the life of me figure out what it is.
The only real difference is that the new server we gave the containers a bigger KMEMSIZE, but that shouldn't be causing this.
Could somebody point me in the right direction?
-
02-29-2012, 12:37 PM #2Web Hosting Guru
- Join Date
- Jan 2011
- Location
- Vancouver, Canada
- Posts
- 331
I posted the wrong free -m for the old server (wrong container lol), here's the correct one:
Code:# vzctl enter 1100 entered into CT 1100 # free -m total used free shared buffers cached Mem: 1843 555 1287 0 0 0 -/+ buffers/cache: 555 1287 Swap: 2048 0 2048
-
03-01-2012, 12:31 AM #3Quality Web Hosting Matters
- Join Date
- Mar 2006
- Location
- Servers
- Posts
- 1,590
This is due to the buggy vzctl , you need to downgrade the vzctl version. Check with SolusVM they have a how-to.
█ QHoster.com - Web Hosting with DDoS Protection | Shared & Reseller in Europe/North America
█ Linux/Windows RDP VPS 13 Locations : UK, US (5 states), Mexico, Canada, Bulgaria, Lithuania,
█ Italy, France, Germany,Netherlands, Switzerland, Rissia, Singapore | OpenVPN/PPTP Enabled
█ INSTANT | PayPal, Skrill, Payza, Bitcoin, WebMoney, Perfect Money, Ukash, CashU, paysafecard
-
03-01-2012, 01:05 AM #4Web Hosting Guru
- Join Date
- Jan 2011
- Location
- Vancouver, Canada
- Posts
- 331
Any chance you have a link to the guide? I spent some time searching around this morning and found no reference to vzctl being buggy or having this problem.
Anything you could point me to would be greatly appreciated
-
03-01-2012, 01:26 AM #5Junior Guru Wannabe
- Join Date
- Apr 2010
- Location
- FL
- Posts
- 49
I think this may be the link you are looking for: http://wiki.solusvm.com/index.php/OpenVZ_Bugs
2Vibrant Hosting Solutions - Quality Hosting, and Top Notch Support
-
03-01-2012, 02:12 AM #6Web Hosting Guru
- Join Date
- Jan 2011
- Location
- Vancouver, Canada
- Posts
- 331
Thanks for that link. Could one of you point to a guide or discussion on this at all? The how to guide is awesome and we'll try it tomorrow, but I wanted to see what has been said about this issue
-
03-01-2012, 11:47 AM #7Junior Guru Wannabe
- Join Date
- Apr 2010
- Location
- FL
- Posts
- 49
Surely you've heard of Google? I am not even real familiar with this subject, but a google search took a whole 10 seconds to find everything you've wanted.
http://forum.soluslabs.com/showthrea...ht=OpenVZ_Bugs2Vibrant Hosting Solutions - Quality Hosting, and Top Notch Support
-
03-01-2012, 12:07 PM #8Web Hosting Guru
- Join Date
- Jan 2011
- Location
- Vancouver, Canada
- Posts
- 331
Thanks 2vibrant. I actually spent a considerable amount of time searching for memory leaks/problems/etc with OpenVZ yesterday but didn't get anywhere.
Thanks
-
03-01-2012, 03:01 PM #9Web Hosting Guru
- Join Date
- Jan 2011
- Location
- Vancouver, Canada
- Posts
- 331
Just an FYI in case anybody has this problem arise - the link posted to SolusVM works! We put it in place on the server having trouble and it worked.
Thanks everybody, you saved me some major headaches
Similar Threads
-
Sysctl in OpenVZ containers
By shearerc in forum VPS HostingReplies: 5Last Post: 03-11-2013, 05:28 AM -
How to fix this problem (OpenVZ Containers not accessable)
By jhina in forum Dedicated ServerReplies: 3Last Post: 10-19-2011, 07:24 AM -
OpenVZ + CentOS = containers can't access the internet
By Christian Little in forum VPS HostingReplies: 3Last Post: 04-25-2011, 04:17 AM -
Problem with OpenVZ Containers
By BLundy-Tegatai in forum VPS HostingReplies: 4Last Post: 08-26-2010, 07:54 PM -
Awknet OpenVZ containers
By sspt in forum VPS Hosting OffersReplies: 0Last Post: 06-20-2009, 03:56 PM