OpenVZ Forum


Home » General » Support » How to reset the failcount (failcnt) in /dev/user_beancounters ?
Re: How to reset the failcount (failcnt) in /dev/user_beancounters ? [message #2029 is a reply to message #2028] Wed, 15 March 2006 14:23 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Thanks for the response!

Apparently, as a neighbour kernel hacker just explained me, this is not a bug.

The problem is tcp time wait buckets are still there after VPS is stopped, thus we are having >0 kmemsize. They should go away after a timeout (5 minutes or so), after that kmemsize will be set (zeroed) and fail counters should be reset to zero.

'oomguarpages > 0' is known bug; the good thing is fail counters will be reset even with oomguarpages > 0.

So, you have two options
(1) stop VPS and wait 5 minutes or so
(2) check the difference of failcnts, not their absolute values.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Clearing/resetting user_beancounter?
Next Topic: 014.4: ipv6 needed?
Goto Forum:
  


Current Time: Fri Aug 16 18:44:42 GMT 2024

Total time taken to generate the page: 0.02892 seconds