[Users] Can not allocate memory
Leoman
leoman at leoman.gen.tr
Wed Aug 22 10:08:03 EDT 2007
Hi all,
I installing a new openvz on debian etch via this document [1].
I create a new virtual machine this [1] configrations.
Ok, my vps running normally because i'm try to installing VHCS CP. I
have got any error when installation time but i can see not running bind
dns server. I try to starting manually (/etc/init.d/bind9 start) but i get
Starting domain name service...: bind/etc/init.d/bind9: line 24:
/bin/mkdir: Cannot allocate memory
/etc/init.d/bind9: line 25: /bin/chmod: Cannot allocate memory
/etc/init.d/bind9: line 26: /dev/null: Too many open files in system
/etc/init.d/bind9: fork: Cannot allocate memory
errors. /bin/mkdir is running normally. (mkdir /root/test, ok)
Same problem for proftpd,
/etc/init.d/proftpd: line 13: /bin/grep: Cannot allocate memory
/etc/init.d/proftpd: fork: Cannot allocate memory
Starting ftp server: proftpd/etc/init.d/proftpd: line 94:
/sbin/start-stop-daemon: Cannot allocate memory
failed!
Why i get this erros.
And How can I limited inbound and outbound network traffic per vps?
Thanks all.
uname -a : Linux vps01 2.6.18-openvz-12-1etch1-686 #1 SMP Sat May 5 00:26:59 CEST 2007 i686 GNU/Linux
Links :
[1] http://wiki.openvz.org/Installation_on_Debian
Configs:
[1] /etc/vz/conf/1.conf
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="40:40"
NUMPROC="65:65"
NUMTCPSOCK="80:80"
NUMOTHERSOCK="80:80"
VMGUARPAGES="131072:153600"
# Secondary parameters
KMEMSIZE="2752512:2936012"
TCPSNDBUF="319488:524288"
TCPRCVBUF="319488:524288"
OTHERSOCKBUF="132096:336896"
DGRAMRCVBUF="132096:132096"
OOMGUARPAGES="6144:2147483647"
# Auxiliary parameters
LOCKEDPAGES="32:32"
SHMPAGES="8192:8192"
PRIVVMPAGES="49152:53575"
NUMFILE="2048:2048"
NUMFLOCK="100:110"
NUMPTY="16:16"
NUMSIGINFO="256:256"
DCACHESIZE="1048576:1097728"
DCACHESIZE="1048576:1097728"
PHYSPAGES="0:2147483647"
NUMIPTENT="128:128"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="10485760:10485760"
DISKINODES="200000:220000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="1000"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-4.0-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
IP_ADDRESS="x.x.x.x"
CPULIMIT="100"
HOSTNAME="mirror.test.net"
NAMESERVER="4.2.2.1"
More information about the Users
mailing list