[Users] help to optimize container
contenidos2000-openvz at yahoo.com.ar
contenidos2000-openvz at yahoo.com.ar
Tue Aug 30 06:49:18 EDT 2011
Hello
I have an openvz node with only one container (Cpanel server).
Yesterday I had many memories issues:
"Unable to fork: Cannot allocate memory"
Can someone help me to optimize my node setting ?
I have a 4Gb node and I can use all node resources for the container.
This is my resources output:
http://pastebin.com/iPXnf0Se
It appears this parameter failed:
cat /proc/user_beancounters
Version: 2.5
uid resource held
maxheld barrier limit failcnt
privvmpages 230416
1045032 900000 1000000 363565
This is my node settting:
cat /etc/vz/conf/100.conf
VERSION="2"
ONBOOT="yes"
NUMPROC="10230:10230"
AVNUMPROC="5115:5115"
NUMTCPSOCK="10230:10230"
NUMOTHERSOCK="10230:10230"
VMGUARPAGES="491520:9223372036854775807"
# Secondary parameters
KMEMSIZE="419090432:460999475"
TCPSNDBUF="97794730:139696810"
TCPRCVBUF="97794730:139696810"
OTHERSOCKBUF="48897365:90799445"
DGRAMRCVBUF="48897365:48897365"
OOMGUARPAGES="917504:9223372036854775807"
PRIVVMPAGES="900000:1000000"
# Auxiliary parameters
LOCKEDPAGES="20463:20463"
SHMPAGES="30695:30695"
PHYSPAGES="0:9223372036854775807"
NUMFILE="163680:163680"
NUMFLOCK="1000:1100"
NUMPTY="512:512"
NUMSIGINFO="1024:1024"
DCACHESIZE="91533669:94279680"
NUMIPTENT="400:500"
DISKSPACE="203811210:224192332"
DISKINODES="5000000:6000000"
CPUUNITS="139987"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
ORIGIN_SAMPLE="1vs"
DISK_QUOTA="yes"
OSTEMPLATE="centos-5-x86_64"
IP_ADDRESS="xxx.xxx.xxx.xxx"
NAMESERVER="208.67.222.222 208.67.220.220"
HOSTNAME="xxx.xxxxxx.xxx"
QUOTAUGIDLIMIT="800"
DISKSPACE="204857600:215302400"
QUOTATIME="1200"
Any help ? Thanks in advance.
roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20110830/83c1bc45/attachment.html
More information about the Users
mailing list