OpenVZ Forum


Home » General » Support » Segmentation fault
Re: Segmentation fault [message #36010 is a reply to message #35998] Tue, 12 May 2009 04:00 Go to previous messageGo to previous message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
Hi jarg,


Thanks for your advice and URL

jarg wrote on Mon, 11 May 2009 22:03

vmguarpages is not actually the problem. It is privvmpages and probably others. I would recommend to set all parameters as in http://wiki.openvz.org/UBC_configuration_examples_table "C".

When you have one working config, copy it, edit it with a text editor, delete the VE unique stuff (hostname, VE ID, IP address, ...)




On host:-

I found the sample file. Copied and renamed it as ve-vps.revise.conf

Changed it as follow;

$ cat /etc/vz/conf/ve-vps.revise.conf
ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="24800000:24800000"    #"11055923:11377049"
LOCKEDPAGES="4096:4096"         #"256:256"
PRIVVMPAGES="262144:292912"     #"65536:69632"
SHMPAGES="131072:131072"        #"21504:21504"
NUMPROC="400:400"               #"240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="102400:2147483647"	#"33792:2147483647"
OOMGUARPAGES="102400:214748367"	#"26112:2147483647"
NUMTCPSOCK="500:500"		#"360:360"
NUMFLOCK="200:220"		#"188:206"
NUMPTY="64:64"			#"16:16"
NUMSIGINFO="512:512"		#"256:256"
TCPSNDBUF="5365760:10485760"	#"1720320:2703360"
TCPRCVBUF="5365760:10485760" 	#"1720320:2703360"
OTHERSOCKBUF="1503232:4063232"	#"1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="500:500"		#"360:360"
DCACHESIZE="4194304:4317184"	#"3409920:3624960"
NUMFILE="8192:8192"		#"9312:9312"
AVNUMPROC="200:200"		#"180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="1048576:1153024"
DISKINODES="200000:220000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"


But some of the items I can't find on the table. I'll remove "#...." later. They are for easy reference.


Quote:


and use
vzctl set XYZ --applyconfig XYZ (or something like that, please see the man page)
to apply the config to other VEs.


However I have no idea how to use the file. The guest 102 (VE) is running. Please advise. TIA


Furthermore on creating VE running;
$ sudo vzctl create 102 --ostemplate ubuntu-8.04-i386-minimal --config vps.basic


Where is vps.basic ?


B.R.
satimis
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzctl command to increase the RAM
Next Topic: HN on private network, VE on public/private network
Goto Forum:
  


Current Time: Mon Sep 08 08:12:36 GMT 2025

Total time taken to generate the page: 0.07952 seconds