OpenVZ Forum


Home » General » Support » HN hangs with no reason. Memory shortage?
Re: HN hangs with no reason. Memory shortage? [message #38257 is a reply to message #37365] Tue, 01 December 2009 20:32 Go to previous messageGo to previous message
piplite is currently offline  piplite
Messages: 27
Registered: March 2008
Junior Member
Im getting to this question again as im confused. I have the following
What parameter am i missing and overselling here?
# vzmemcheck -v
Output values in %
veid        LowMem  LowMem     RAM MemSwap MemSwap   Alloc   Alloc   Alloc
              util  commit    util    util  commit    util  commit   limit
36789         0.26   23.22    0.07    0.04    1.76    0.06    1.76    4.15
36787         0.37   23.22    0.33    0.21    1.76    1.04    1.76    4.15
36786         0.27   23.22    0.06    0.04    1.76    0.06    1.76    4.15
36785         0.43   23.22    0.31    0.19    1.76    0.47    1.76    4.15
36784         0.56   29.16    0.27    0.17    3.60    0.59    3.60   10.75
36783         0.30   23.22    0.12    0.08    1.76    0.10    1.76    4.15
36782         0.87   38.65    0.62    0.39    4.79    1.40    4.79   14.32
36781         0.24   26.78    0.06    0.04    2.71    0.05    2.71    7.47
36780         0.46   26.78    0.48    0.30    2.71    1.07    2.71    7.47
36779         0.72   29.16    1.05    0.66    3.60    1.01    3.60   10.75
36778         0.21   38.65    0.06    0.04    4.79    0.06    4.79   14.32
36762         0.40   23.22    0.26    0.16    1.76    0.20    1.76    4.15
36758         0.21   23.22    0.05    0.03    1.76    0.04    1.76    4.15
36720         1.37   23.22    0.87    0.55    1.76    0.89    1.76    4.15
36672         0.57   23.22    0.51    0.32    1.76    0.49    1.76    4.15
36641         1.57   38.65    1.64    1.03    6.58    1.86    6.58   21.46
36639         0.70   25.60    0.57    0.36    2.26    1.67    2.26    5.83
6710          1.23  140.78    0.19    0.12    6.68    0.30    6.68    9.06
6580          0.24  144.34    0.06    0.04    7.62    0.05    7.62   12.38
6380          0.95  144.34    0.82    0.51    7.62    0.78    7.62   12.38
4300          0.30  135.56    0.29    0.18    6.86    0.32    6.86   10.43
3590          1.41  144.34    0.69    0.43    7.62    0.72    7.62   12.38
1470          0.31  473.10    0.12    0.08   26.13    0.09   26.13   45.18
1010          0.81  133.18    0.35    0.22    6.36    0.39    6.36    8.74
900           0.21  144.34    0.05    0.03    7.62    0.04    7.62   12.38
430           1.19  141.97    0.59    0.37    6.93    0.86    6.93    9.90
340           1.42  144.34    1.23    0.77    7.62    1.08    7.62   12.38
-------------------------------------------------------------------------
Summary:     17.60 2208.72   11.72    7.36  137.97   15.71  137.97  274.91


On a server i have 27 vps running with config files like this:

64Mb vps:
# UBC parameters (in form of barrier:limit)
KMEMSIZE="67108864:67108864"
LOCKEDPAGES="256:256"
PRIVVMPAGES="32768:65536"
SHMPAGES="21504:21504"
NUMPROC="192:192"
PHYSPAGES="0:2147483647"
VMGUARPAGES="16384:16384"
OOMGUARPAGES="16384:16384"
NUMTCPSOCK="1536:1536"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="6291456:6291456"
TCPRCVBUF="6291456:6291456"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="1536:1536"
DCACHESIZE="3409920:3624960"
NUMFILE="1536:1536"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="3072000:3072000"
DISKINODES="384000:384000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"


VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vps/$VEID"
OSTEMPLATE="fedora-10-i386-default"
ORIGIN_SAMPLE="vps.basic"
QUOTAUGIDLIMIT="2048"
CPULIMIT="10"
CPUS="1"
MEMINFO="pages:16384"


128 vps:
# UBC parameters (in form of barrier:limit)
KMEMSIZE="67108864:67108864"
LOCKEDPAGES="256:256"
PRIVVMPAGES="98304:131072"
SHMPAGES="21504:21504"
NUMPROC="512:512"
PHYSPAGES="0:2147483647"
VMGUARPAGES="32768:32768"
OOMGUARPAGES="32768:32768"
NUMTCPSOCK="3072:3072"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="12582912:12582912"
TCPRCVBUF="12582912:12582912"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="3072:3072"
DCACHESIZE="3409920:3624960"
NUMFILE="3072:3072"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="4608000:4608000"
DISKINODES="576000:576000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"


VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vps/$VEID"
OSTEMPLATE="debian-5.0.3-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
QUOTAUGIDLIMIT="2048"
CPULIMIT="20"
CPUS="1"
MEMINFO="pages:32768"

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CentOS 5 template
Next Topic: download.openvz.org broken
Goto Forum:
  


Current Time: Sun Aug 03 16:52:39 GMT 2025

Total time taken to generate the page: 1.01952 seconds