*SOLVED* vzcfgvalidate and "cat /proc/user_beancounters" show different results [message #25514] |
Fri, 28 December 2007 07:42  |
tirukill
Messages: 7 Registered: December 2007
|
Junior Member |
|
|
I use command vzcfgvalidate to check is the conf file correct or not like in guide.
I receive follow results:
# vzcfgvalidate /etc/vz/conf/808.conf
Error: tcpsndbuf.lim-tcpsndbuf.bar should be > 768000 (currently, 1000)
Error: othersockbuf.lim-othersockbuf.bar should be > 409600 (currently, 40000)
Warning: tcprcvbuf.lim-tcprcvbuf.bar should be > 768000 (currently, 1000)
BUT, in conf file:
TCPSNDBUF="769000:770000"
TCPRCVBUF="769000:770000"
OTHERSOCKBUF="409600:449600"
and command # vzctl exec 808 cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
808: kmemsize 749599 1104869 15000000 15000000 0
lockedpages 0 0 32 32 0
privvmpages 5248 7259 500000 500000 0
shmpages 2564 2564 8192 8192 0
dummy 0 0 0 0 0
numproc 12 16 320 320 0
physpages 2026 3576 0 2147483647 0
vmguarpages 0 0 6144 2147483647 0
oomguarpages 2026 3576 6144 2147483647 0
numtcpsock 4 5 300 300 0
numflock 1 2 100 110 0
numpty 0 0 16 16 0
numsiginfo 0 2 256 256 0
tcpsndbuf 0 0 769000 770000 0
tcprcvbuf 0 0 769000 770000 0
othersockbuf 6696 11160 409600 449600 0
dgramrcvbuf 0 6696 132096 132096 0
numothersock 4 6 160 160 0
dcachesize 0 0 3145740 3155728 0
numfile 281 375 8192 8192 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 128 128 0
What's wrong ?
[Updated on: Fri, 28 December 2007 10:50] Report message to a moderator
|
|
|
|
|
|
|