OpenVZ Forum


Home » Mailing lists » Users » How to reset the failcnt?
How to reset the failcnt? [message #26547] Mon, 28 January 2008 10:46 Go to next message
Jorge Fuertes is currently offline  Jorge Fuertes
Messages: 4
Registered: January 2008
Junior Member
After modify the kmemsize we want to know if we get more fails at
/proc/user_beamcounters.

Can we reset the failcnt to see the new errors?

Thanks in advance.

-- 
Jorge Fuertes ~ aka Queru
GnuPG key-id: 6B55C7A8
GNU/Linux Reg. User #170191
Presidente Hispalinux (Socio #1510)
http://queru.org http://hispalinux.es
Re: How to reset the failcnt? [message #26548 is a reply to message #26547] Mon, 28 January 2008 11:06 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Jorge Fuertes wrote:
> After modify the kmemsize we want to know if we get more fails at
> /proc/user_beamcounters.
>
> Can we reset the failcnt to see the new errors?
>   

Please see http://wiki.openvz.org/UBC_failcnt_reset
Re: How to reset the failcnt? [message #26549 is a reply to message #26547] Mon, 28 January 2008 11:06 Go to previous messageGo to next message
Gregor Mosheh is currently offline  Gregor Mosheh
Messages: 62
Registered: April 2007
Member
Jorge Fuertes wrote:
> Can we reset the failcnt to see the new errors?

Nope, except by stopping and restarting the VE. This is by design, the 
reason being that some programs would expect the number to increase and 
would be confused if it were to decrease or be 0.

Personally, I think it would be spiffy to be able to reset the 
failcounts, and I don't know what specific programs they have in mind 
which would be so confused by the failcounts being zeroed.

-- 
Gregor Mosheh / Greg Allensworth, BS, A+
System Administrator
HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA
Re: How to reset the failcnt? [message #26558 is a reply to message #26549] Mon, 28 January 2008 15:49 Go to previous message
Jorge Fuertes is currently offline  Jorge Fuertes
Messages: 4
Registered: January 2008
Junior Member
Ok. Thanks, but it can be a good thing, IMHO, for whislist, a failcnt
after last modification.

Bye.

On Jan 28, 2008 12:06 PM, Gregor Mosheh <gregor@hostgis.com> wrote:
> Jorge Fuertes wrote:
> > Can we reset the failcnt to see the new errors?
>
> Nope, except by stopping and restarting the VE. This is by design, the
> reason being that some programs would expect the number to increase and
> would be confused if it were to decrease or be 0.
>
> Personally, I think it would be spiffy to be able to reset the
> failcounts, and I don't know what specific programs they have in mind
> which would be so confused by the failcounts being zeroed.
>
> --
> Gregor Mosheh / Greg Allensworth, BS, A+
> System Administrator
> HostGIS cartographic development & hosting services
> http://www.HostGIS.com/
>
> "Remember that no one cares if you can back up,
>   only if you can restore." - AMANDA
>
-- 
Jorge Fuertes ~ aka Queru
GnuPG key-id: 6B55C7A8
GNU/Linux Reg. User #170191
Presidente Hispalinux (Socio #1510)
http://queru.org http://hispalinux.es
Previous Topic: CPT: unsupported fs type xfs
Next Topic: OpenVZ Multicast Questions
Goto Forum:
  


Current Time: Wed Feb 28 10:20:25 GMT 2024

Total time taken to generate the page: 0.03228 seconds