OpenVZ Forum - RDF feed
type: channel
items: user_beancounters not reset?
items: Re: user_beancounters not reset?

user_beancounters not reset?
type: item
description: For tuning the parameters I restart OpenVZ through: # /etc/init.d/vz stop (wait ten seconds) # /etc/init.d/vz start Today I saw that for one of the VE's, the counters were the same. So I did a stop and after 10 seconds did a # cat /proc/user_beancounters For al the VE's they were gone, except for the one with the strange behaviour. Even after a minute, the cat still gave the old bean_counters. I don't think this is normal? I noticed that the failcnt of lockedpages was reached, and that didn't happen the last week in all the VE's. Has that something to do with it?
creator: hvdkamer
date: 2006-08-18T21:37:13-00:00

Re: user_beancounters not reset?
type: item
description: Some items in user_beancounters take a while before they reset... even if you stop and restart the VPS. See here for more details: http://wiki.openvz.org/UBC_failcnt_reset
creator: dowdle
date: 2006-08-18T23:34:10-00:00

Re: user_beancounters not reset?
type: item
description: Thanks for the link. I waited one minute, but the kmemsize property was zero, so according to this article it must be a bug . Tonight I'll do it again and wait for the suggested time. If it is still not zero, I'll file a bug.
creator: hvdkamer
date: 2006-08-19T08:15:35-00:00

Re: user_beancounters not reset?
type: item
description: For another test I had to take down the VE's. I waited more than ten minutes and the counters are still not zero. So it is definetly a bug and I'll file a report. Done, see http://bugzilla.openvz.org/show_bug.cgi?id=235
creator: hvdkamer
date: 2006-08-19T14:45:54-00:00