OpenVZ Forum


Home » General » Support » *SOLVED* vzcfgvalidate and "cat /proc/user_beancounters" show different results
*SOLVED* vzcfgvalidate and "cat /proc/user_beancounters" show different results [message #25514] Fri, 28 December 2007 07:42 Go to next message
tirukill is currently offline  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

Re: vzcfgvalidate and "cat /proc/user_beancounters" show different results [message #25516 is a reply to message #25514] Fri, 28 December 2007 08:18 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

1.
Quote:

(tcpsndbuf.lim-tcpsndbuf.bar)
- is the difference of that values.
Sign "-" means minus. So your difference equals to tcpsndbuf.lim-tcpsndbuf.bar = 770000 - 769000 = 1000

2. The good explanation of this demand you can find at this page
http://wiki.openvz.org/UBC_consistency_check#Send_buffers_sh ould_have_enough_space_for_all_sockets

2. I agree with you that the form of this error is not quite convenient and can be misleading.

Thank You!
Re: vzcfgvalidate and "cat /proc/user_beancounters" show different results [message #25517 is a reply to message #25516] Fri, 28 December 2007 08:25 Go to previous messageGo to next message
tirukill is currently offline  tirukill
Messages: 7
Registered: December 2007
Junior Member
Thanks a lot!


P.S.

May be to write for example
tcprcvbuf.lim-tcprcvbuf.bar should be > 768000 (currently, 769000-768000=1000) will be more clear?

[Updated on: Fri, 28 December 2007 08:26]

Report message to a moderator

Re: vzcfgvalidate and "cat /proc/user_beancounters" show different results [message #25518 is a reply to message #25517] Fri, 28 December 2007 08:55 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Many thanks for your note. Please look at this page
http://bugzilla.openvz.org/show_bug.cgi?id=769
Re: vzcfgvalidate and "cat /proc/user_beancounters" show different results [message #25522 is a reply to message #25518] Fri, 28 December 2007 10:50 Go to previous message
tirukill is currently offline  tirukill
Messages: 7
Registered: December 2007
Junior Member
excellent !
I hope they'll do it )

Previous Topic: DB2/DB2-C On openvz problems
Next Topic: Running gnome/kde/other_desktop inside VPS/container
Goto Forum:
  


Current Time: Sun Dec 03 08:15:50 GMT 2023

Total time taken to generate the page: 0.01890 seconds