Re: [Users] Trouble compiling ovz028stab039.1-combined

2007-08-23 Thread ml-openvz-eyck
On Wed, 22 Aug 2007, Kirill Korotaev wrote:
  WARNING: cfq_pool [block/cfq-iosched.ko] undefined!
  WARNING: ub0 [block/cfq-iosched.ko] undefined!

 compilation fail - not normal, you can fill in the bug with .config file you 
 used.
 It looks like your patches brake CFQ io scheduler, without it it compiles
just fine.
 I'm using CFQ on multiple servers and it usually shows better characteristics
then adaptive/deadline, I could only get deadline to behave consistently nicer 
when I
removed raid cards and tested on serial ata hardware, so it would be nice to 
have
the option to use CFQ... 

-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] Can not allocate memory

2007-08-23 Thread Kir Kolyshkin


1. See http://wiki.openvz.org/Resource_shortage

2. Network traffic can be limited by standard Linux tools, i.e. tc. See
http://wiki.openvz.org/Traffic_shaping_with_tc

Leoman wrote:
 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=20:22
 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



 ___
 Users mailing list
 Users@openvz.org
 https://openvz.org/mailman/listinfo/users

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users