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