mem intensive apps such as firefox fail despite kmem changes [message #24565] |
Thu, 06 December 2007 12:10 |
paul_xedos
Messages: 13 Registered: November 2007
|
Junior Member |
|
|
Hi,
I have a fairly large 8 cpu, 16gb Host Node which I am planning to divide up into 20 VE's using vzsplit. The idea is for remote users to connect in and receive virtual desktops through NoMachine. Everything works but bigger apps such as firefox and eclipse fail with non-obvious errors although they work fine outside of the VEs. I'm pretty sure its resources related but beancounters shows no fails, vzmemcheck and vzcpucheck looks ok
Output values in %
veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
44 0.23 4.59 0.16 0.15 4.96 0.85 4.96 31.10
2281 0.23 4.59 0.16 0.15 4.96 0.85 4.96 31.10
2283 0.76 5.25 1.08 0.96 5.00 2.50 5.00 31.14
-------------------------------------------------------------------------
Summary: 1.22 14.44 1.41 1.25 14.92 4.20 14.92 93.33
What does seem odd is that despite changing the params in the VEID conf file it does not seem to make a diff to the vzctl startup message about meminfo
[root@titan vz-scripts]# vzctl start 2281
Starting VE ...
VE is mounted
Adding IP address(es): 10.4.38.41
Setting CPU units: 56996
Setting devices
Configure meminfo: 1306104
Set hostname: vz1
File resolv.conf was modified
VE start in progress...
[root@titan vz-scripts]# cat 2281.conf
# Configuration file generated by vzsplit for 20 VEs
# on HN with total amount of physical mem 16219 Mb
# low memory 2907 Mb, swap size 2000 Mb, Max treads 8000
# Resourse commit level 0:
# Free resource distribution. Any parameters may be increased
# Primary parameters
NUMPROC="744:744"
AVNUMPROC="372:372"
NUMTCPSOCK="744:744"
NUMOTHERSOCK="744:744"
VMGUARPAGES="217684:2147483647"
# Secondary parameters
KMEMSIZE="22093824:25533558"
TCPSNDBUF="7114260:10161684"
TCPRCVBUF="7114260:10161684"
OTHERSOCKBUF="3557130:6604554"
DGRAMRCVBUF="3557130:3557130"
OOMGUARPAGES="217684:2147483647"
PRIVVMPAGES="1306104:1436714"
# Auxiliary parameters
LOCKEDPAGES="1488:1488"
SHMPAGES="130610:130610"
PHYSPAGES="0:2147483647"
NUMFILE="11904:11904"
NUMFLOCK="1000:1100"
NUMPTY="74:74"
NUMSIGINFO="1024:1024"
DCACHESIZE="6656994:6856704"
NUMIPTENT="100:100"
DISKSPACE="10000000:15000000"
DISKINODES="2484370:2732808"
CPUUNITS="56996"
HOSTNAME="vz1"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="rhel-4.4-i386-newdev"
ORIGIN_SAMPLE="20vps"
NAMESERVER="10.4.22.98"
ONBOOT="yes"
DEVNODES="tty0:rw "
IP_ADDRESS="10.4.38.41"
#NETIF="ifname=eth0,mac=00:19:99:01:8B:6A,host_ifname=veth2281.0,host_mac=00:19:99:01:8B:6B"
NETIF=""
Do changes to the conf file take place on start up or only when the VE is created
Thanks
Paul
|
|
|
|
|
|
|
|