OpenVZ Forum


Home » General » Support » Cannot allocate memory
Cannot allocate memory [message #16120] Thu, 23 August 2007 08:50 Go to previous message
leoman is currently offline  leoman
Messages: 3
Registered: July 2007
Location: Turkey
Junior Member

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.

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"




 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [ASK] limit BW of one ve
Next Topic: Perl code gets 127.0.0.1, not public IP Address
Goto Forum:
  


Current Time: Sun Nov 17 03:15:14 GMT 2024

Total time taken to generate the page: 0.02889 seconds