hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : user_beancounters memory limit
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

user_beancounters memory limit

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-06-2008, 10:22 PM
admrootlinux
Guest
 
Posts: n/a
user_beancounters memory limit

Hi, in the user_beancounters below Which is responsible for memory limit? And Which the unit(bytes, kb, Mb, Gb)?
# cat /Proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
100: kmemsize 2780345 5144991 11055923 11377049 0
lockedpages 0 0 256 256 0
privvmpages 33433 68587 262144 262144 40404
shmpages 640 656 21504 21504 0
dummy 0 0 0 0 0
numproc 41 70 240 240 0
physpages 17144 46756 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 17144 46756 536870912 2147483647 0
numtcpsock 27 35 360 360 0
numflock 6 8 188 206 0
numpty 1 2 16 16 0
numsiginfo 0 28 256 256 0
tcpsndbuf 207948 270556 1720320 2703360 0
tcprcvbuf 204424 1665268 1720320 2703360 0
othersockbuf 19424 57300 1126080 2097152 0
dgramrcvbuf 0 261888 262144 262144 2605
numothersock 21 51 360 360 0
dcachesize 0 0 3409920 3624960 0
numfile 927 1748 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 47 47 128 128 0

Reply With Quote


Sponsored Links
  #2  
Old 11-07-2008, 12:09 AM
tinkertim tinkertim is offline
Web Hosting Guru
 
Join Date: Apr 2006
Location: Mandaluyong, Philippines
Posts: 316
Did you try the wiki? If so , what information was lacking?





__________________
Monkey + Typewriter = echoreply

Reply With Quote
  #3  
Old 11-07-2008, 09:38 PM
rickb12 rickb12 is offline
Web Hosting Evangelist
 
Join Date: Apr 2003
Posts: 454
The numbers are represented in pages. Please, read the following links:http://wiki.openvz.org/Proc/user_beancountershttp://wiki.openvz.org/Setting_UBC_parameters
Edit: Is it just me or are these wiki entries written in a foreign language. Don't feel bad if you didn't get it the first time. It took me several reads to comprehend what OpenVZ was saying.
As you can see, you should use pages as limit.
If you want to set 1GB as limit, then you need to do the following math:
1 page = 4096 bytes (4kbytes)
1GB = 8,589,934,592 bytes
8,589,934,592 bytes /4096 bytes (1 page) = 2097152 pages
As result of this, for example, you have the following:
vzctl set 1001 --vmguarpages 2097152:2097152 --save
vzctl set 1001 --oomguarpages 2097152:2097152 --save
vzctl set 1001 --privvmpages 2097152:2097152 --save
Or if you're running a current kernel, you can do the following:
vzctl set 1001 --vmguarpages 1G:2G--save
vzctl set 1001 --oomguarpages 1G:2G--save
vzctl set 1001 --privvmpages 1G:2G--save





__________________:: ReadyWire Multimedia Solutions - Now offering Master WHMReseller

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
50ee1bfd-fc2c-4c2a-923c-1a1745a79962 Listing 2013-03-05 18:25:35
CloudLinux Releases New LVE Manager Control Panel Plugin Web Hosting News 2012-09-04 10:36:10
Web Host InMotion Upgrades VPS with More Memory, Bandwidth Web Hosting News 2012-03-08 14:15:08
Parallels Now Offering Licenses for CloudLinux OS Web Hosting News 2011-10-26 17:29:25
Web Host INetU Launches Enterprise Hybrid Cloud Service Web Hosting News 2011-09-14 20:16:11


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?