I have 3 virtual machines running with openvz, one of them have running zope (a server applications in python http://www.zope.org/), but sometimes zope kills itself with the load of work, when I check/proc/user_beancounters I see these mistakes (I readed that the failcnt column should have only zero values):
105: kmemsize 605135 1161764 59163173 62277025 0
lockedpages 0 0 2048 2048 0
privvmpages 889 8507 237764 237764 0
shmpages 1 1 102400 102400 0
dummy 0 0 0 0 0
numproc 7 19 65 65 0
physpages 474 1534 0 2147483647 0
vmguarpages 0 0 237764 2147483647 0
oomguarpages 474 1534 209715 2147483647 0
numtcpsock 27 27 80 80 0
numflock 1 2 100 110 0
numpty 0 0 16 16 0
numsiginfo 0 2 256 256 0
tcpsndbuf 241056 0 5368709 10737418 0
tcprcvbuf 442368 0 5368709 10737418 0
othersockbuf 51336 56576 5368709 10737418 0
dgramrcvbuf 0 0 2684354 5368709 0
numothersock 24 36 80 80 0
dcachesize 0 0 16106127 16106127 0
numfile 192 376 2048 2048 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 29 83 128 128 0
104: kmemsize 1434199 1942392 59163173 62277025 0
lockedpages 0 0 2048 2048 0
privvmpages 33873 41349 237764 237764 0
shmpages 1 1 102400 102400 0
dummy 0 0 0 0 0
numproc 27 39 65 65 0
physpages 6034 7126 0 2147483647 0
vmguarpages 0 0 237764 2147483647 0
oomguarpages 6034 7126 209715 2147483647 0
numtcpsock 30 30 80 80 0
numflock 4 5 100 110 0
numpty 0 0 16 16 0
numsiginfo 0 2 256 256 0
tcpsndbuf 267840 0 5368709 10737418 0
tcprcvbuf 491520 0 5368709 10737418 0
othersockbuf 53568 63736 5368709 10737418 0
dgramrcvbuf 0 0 2684354 5368709 0
numothersock 26 34 80 80 0
dcachesize 0 0 16106127 16106127 0
numfile 609 788 2048 2048 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 91 91 128 128 0
106: kmemsize 1284733 1998938 59163173 62277025 0
lockedpages 0 0 2048 2048 0
privvmpages 60973 69072 237764 237764 247630
shmpages 0 1008 102400 102400 0
dummy 0 0 0 0 0
numproc 17 32 65 65 0
physpages 47432 49131 0 2147483647 0
vmguarpages 0 0 237764 2147483647 0
oomguarpages 47432 49131 209715 2147483647 0
numtcpsock 30 52 80 80 0
numflock 2 8 100 110 0
numpty 0 3 16 16 0
numsiginfo 0 14 256 256 0
tcpsndbuf 370512 814736 5368709 10737418 9006
tcprcvbuf 522768 878568 5368709 10737418 99
othersockbuf 51336 58032 5368709 10737418 0
dgramrcvbuf 0 8376 2684354 5368709 0
numothersock 24 33 80 80 0
dcachesize 0 0 16106127 16106127 0
numfile 496 833 2048 2048 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 75 91 128 128 0
THE content of my configuration file (/etc/vz/conf/106.conf) is:
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="64:64"
#AVNUMPROC="40:40"
#NUMPROC="65:65"
NUMPROC="80:80"
#NUMTCPSOCK="80:80"
NUMTCPSOCK="128:128"
#NUMOTHERSOCK="80:80"
NUMOTHERSOCK="128:128"
VMGUARPAGES="237764:2147483647"
# Secondary parameters
KMEMSIZE="59163173:62277025"
TCPSNDBUF="5368709:10737418"
TCPRCVBUF="5368709:10737418"
OTHERSOCKBUF="5368709:10737418"
DGRAMRCVBUF="2684354:5368709"
OOMGUARPAGES="209715:2147483647"
# Auxiliary parameters
LOCKEDPAGES="2048:2048"
SHMPAGES="102400:102400"
PRIVVMPAGES="237764:237764"
NUMFILE="2048:2048"
#NUMFLOCK="100:110"
NUMFLOCK="128:128"
#NUMPTY="16:16"
NUMPTY="8:8"
#NUMSIGINFO="256:256"
NUMSIGINFO="128:128"
DCACHESIZE="16106127:16106127"
PHYSPAGES="0:2147483647"
#NUMIPTENT="128:128"
NUMIPTENT="192:192"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="1048576:1153434"
DISKINODES="200000:220000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="30027"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-4.0-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
HOSTNAME="zope.jornada.com.mx"
IP_ADDRESS="132.248.10.14"
NAMESERVER="132.248.204.1"
IPTABLES="iptable_nat iptable_filter"
This configuration its based in this one:
http://wiki.vpslink.com/index.php?title=Vpslink5
My hardware node have 3gb of ram and I have destined 1gb for the virtual enviroment 106 with zope. ¿ Guys can you give me a hand please?
[Updated on: Sat, 04 August 2007 19:21]
Report message to a moderator