Howto config ve of ram 1GB [message #24641] |
Fri, 07 December 2007 07:07 |
powervps
Messages: 54 Registered: December 2007
|
Member |
|
|
Howto config ve of ram 1GB and 1500 Mb and 512 ram
Quote: | ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
AVNUMPROC="360"
NUMPROC="480"
NUMTCPSOCK="720"
NUMOTHERSOCK="720:720"
VMGUARPAGES="67584:2147483647"
# Secondary parameters
KMEMSIZE="22111846:22754099"
TCPSNDBUF="319488:524288"
TCPRCVBUF="3440640:5406720"
OTHERSOCKBUF="2252160:4194304"
DGRAMRCVBUF="524288:524288"
OOMGUARPAGES="52224:2147483647"
# Auxiliary parameters
LOCKEDPAGES="512:512"
SHMPAGES="43008"
PRIVVMPAGES="131072:139264"
NUMFILE="18624"
NUMFLOCK="376:412"
NUMPTY="32:32"
NUMSIGINFO="512:512"
DCACHESIZE="6819840:7249920"
PHYSPAGES="0:2147483647"
NUMIPTENT="256:256"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="104857600:104857600"
DISKINODES="2000000:2200000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="1000
|
|
|
|
|
|
|
|
|
|
|
Re: Howto config ve of ram 1GB [message #24707 is a reply to message #24705] |
Sat, 08 December 2007 00:46 |
powervps
Messages: 54 Registered: December 2007
|
Member |
|
|
Look what iam geting sir
[root@vpsvps ~]# vzctl create 101 --config vps.basic --hostname server.xxx.net
Warning: VE config file already exists, will be rewritten with /etc/vz/conf/ve-vps.basic.conf-sample
Private area already exists in /vz/private/101
[root@vpsvps ~]# vzctl start 101
Warning: distribution not specified default used /etc/vz/dists/default
Starting VE ...
vzquota : (warning) block_hard_limit [1153534] < block_current_usage [2934380]
VE is mounted
Setting CPU units: 1000
Configure meminfo: 49152
vzquota : (warning) block_hard_limit [1153434] < block_current_usage [2934380]
VE start in progress...
Quote: |
# Copyright (C) 2000-2007 SWsoft. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="360"
NUMPROC="480"
NUMTCPSOCK="720:720"
NUMOTHERSOCK="720:720"
VMGUARPAGES="131072:2147483647"
# Secondary parameters
KMEMSIZE="22111846:22754099"
TCPSNDBUF="319488:524288"
TCPRCVBUF="3440640:5406720"
OTHERSOCKBUF="135168:237568"
DGRAMRCVBUF="524288:524288"
OOMGUARPAGES="1725:2147483647"
# Auxiliary parameters
LOCKEDPAGES="1024:1024"
SHMPAGES="512:512"
PRIVVMPAGES="256000:262140"
NUMFILE="18624"
NUMFLOCK="396:412"
NUMPTY="32:32"
NUMSIGINFO="512:512"
DCACHESIZE="6819840:7249920"
PHYSPAGES="0:2147483647"
NUMIPTENT="256:256"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="512000:512000"
DISKINODES="80000:88000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="1000"
|
[Updated on: Sat, 08 December 2007 00:46] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Howto config ve of ram 1GB [message #29448 is a reply to message #29420] |
Sat, 12 April 2008 23:21 |
blunt
Messages: 16 Registered: October 2007
|
Junior Member |
|
|
that is up to your clients...
If you want to avoid problems, just set the soft and hard limit to the hard limit values, and the users will see the 1024MB instead of the 1000MB
|
|
|