OpenVZ Forum


Home » General » Support » Bug in vzcfgvalidate?
Bug in vzcfgvalidate? [message #5132] Mon, 14 August 2006 14:34 Go to next message
jbwiv is currently offline  jbwiv
Messages: 15
Registered: August 2006
Junior Member
Guys,

I'm concerned there is a config in vzcfgvalidate in Stable. I'm running on Debian Sarge.

I noticed my VE was getting failures on OTHERSOCKBUF, so I decided to take a look.

First, I did:

/etc/vz# vzcfgvalidate conf/103.conf
Error: othersockbuf.lim-othersockbuf.bar should be > 512000 (currently, 204800)

However, looking in 103.conf, I see clearly that:

OTHERSOCKBUF="132096:336896"

So, just for kicks, I did:

vzctl set 103 --othersockbuf 512000 --save

I checked in 103.conf to make sure it took. It did.

OTHERSOCKBUF="512000:512000"

However, now, running vzcfgvalidate, I see:

/etc/vz# vzcfgvalidate conf/103.conf
Error: othersockbuf.lim-othersockbuf.bar should be > 512000 (currently, 0)

Something is obviously buggy here.

A strace shows this:

stat64("conf/103.conf", {st_mode=S_IFREG|0644, st_size=1751, ...}) = 0
open("conf/103.conf", O_RDONLY) = 3
stat64("conf/103.conf", {st_mode=S_IFREG|0644, st_size=1751, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1751, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4003c000
read(3, "# Copyright (C) 2000-2006 SWsof"..., 4096) = 1751
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4003c000, 4096) = 0
write(2, "Error: othersockbuf.lim-othersoc"..., 74Error: othersockbuf.lim-othersockbuf.bar should be > 512000 (currently, 0)) = 74
write(2, "\n", 1
) = 1
exit_group(1) = ?


I'm going to submit a bug report, but if I'm overlooking something obvious, please let me know.

Thanks,
John
Re: Bug in vzcfgvalidate? [message #5152 is a reply to message #5132] Tue, 15 August 2006 11:54 Go to previous message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

John, it is ok.. remember math classes:

othersockbuf.lim minus othersockbuf.bar should be > 512000

Very Happy


Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png
Previous Topic: QUOTAS x CPANEL - AGAIN
Next Topic: SSH not respond in VPS
Goto Forum:
  


Current Time: Wed Nov 06 09:04:27 GMT 2024

Total time taken to generate the page: 0.04557 seconds