OpenVZ Forum


Home » General » Support » Bug (?): vzcfgvalidate not working
Bug (?): vzcfgvalidate not working [message #37257] Sat, 29 August 2009 16:18 Go to previous message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Hi,

I want to validate the configuration of my VEs and apply all recommended changes. But this does not seem to work (almost with all my VEs):

# vzcfgvalidate -r /etc/vz/conf/400.conf
Warning: too large value for TCPSNDBUF=2720320:2150201408 was truncated
Warning: too large value for TCPRCVBUF=1720320:2149201408 was truncated
Warning: too large value for OTHERSOCKBUF=2147483647:2148405247 was truncated
Error: tcpsndbuf.lim-tcpsndbuf.bar should be > 2147481088 (currently, 2144763327)
set to 2720320:2150201408
Error: othersockbuf.lim-othersockbuf.bar should be > 921600 (currently, 0)
set to 2147483647:2148405247
Warning: tcprcvbuf.lim-tcprcvbuf.bar should be > 2147481088 (currently, 2145763327)
set to 1720320:2149201408
Warning: too large value for TCPSNDBUF=2720320:2150201408 was truncated
Warning: too large value for TCPRCVBUF=1720320:2149201408 was truncated
Warning: too large value for OTHERSOCKBUF=2147483647:2148405247 was truncated
Validation completed: success
# vzcfgvalidate -r /etc/vz/conf/400.conf
Warning: too large value for TCPSNDBUF=2720320:2150201408 was truncated
Warning: too large value for TCPRCVBUF=1720320:2149201408 was truncated
Warning: too large value for OTHERSOCKBUF=2147483647:2148405247 was truncated
Error: tcpsndbuf.lim-tcpsndbuf.bar should be > 2147481088 (currently, 2144763327)
set to 2720320:2150201408
Error: othersockbuf.lim-othersockbuf.bar should be > 921600 (currently, 0)
set to 2147483647:2148405247
Warning: tcprcvbuf.lim-tcprcvbuf.bar should be > 2147481088 (currently, 2145763327)
set to 1720320:2149201408
Warning: too large value for TCPSNDBUF=2720320:2150201408 was truncated
Warning: too large value for TCPRCVBUF=1720320:2149201408 was truncated
Warning: too large value for OTHERSOCKBUF=2147483647:2148405247 was truncated
Validation completed: success
#


As you can see, I the settings are not saved/repaired. I can call the command as often as I want, there are no changes.

Instead, I get error messages with the VE:

# vzctl enter 400
Warning: too large value for TCPSNDBUF=2720320:2150201408 was truncated
Warning: too large value for TCPRCVBUF=1720320:2149201408 was truncated
Warning: too large value for OTHERSOCKBUF=2147483647:2148405247 was truncated
entered into VE 400
VE400:/#


Am I missing something here or is this a bug?

Best regards,
divB


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Question about vzdump restore
Next Topic: sock_sendpage() kernel vulnerability
Goto Forum:
  


Current Time: Sun Jul 14 12:55:57 GMT 2024

Total time taken to generate the page: 0.02255 seconds