OpenVZ Forum


Home » Mailing lists » Users » held and maxheld below barrier and limit but failcnt = 4
held and maxheld below barrier and limit but failcnt = 4 [message #12017] Sun, 15 April 2007 09:11 Go to next message
Franz STUMPNER is currently offline  Franz STUMPNER
Messages: 5
Registered: April 2007
Junior Member
I have the Problem that my /proc/user_beancounters displays an failcount
of 4 at the privvmpages section:

Version: 2.5
uid resource held maxheld barrier limit failcnt
102: kmemsize 2827049 3378858 41840803 46024883 0
lockedpages 0 0 2043 2043 0
*privvmpages 118113 130716 173225 198547 4*

How can it be that failcnt is 4 when the held and maxheld values are
below the barrier an limit values?
For me it means that the privvmpages never hit the barrier or limit, how
can there be a failcnt!? Or I'm wrong?

Thanks for information,
best regards
franz stumpner

ps: I'm running an VPS on Debian Linux 4.0 with Kernel
2.6.18-028stab023.1+40-openvz
Re: held and maxheld below barrier and limit but failcnt = 4 [message #12018 is a reply to message #12017] Sun, 15 April 2007 14:49 Go to previous messageGo to next message
pookey is currently offline  pookey
Messages: 12
Registered: March 2007
Junior Member
Franz STUMPNER wrote:
> I have the Problem that my /proc/user_beancounters displays an failcount
> of 4 at the privvmpages section:
>
> Version: 2.5
> uid resource held maxheld barrier limit failcnt
> 102: kmemsize 2827049 3378858 41840803 46024883 0
> lockedpages 0 0 2043 2043 0
> *privvmpages 118113 130716 173225 198547 4*
>
> How can it be that failcnt is 4 when the held and maxheld values are
> below the barrier an limit values?
> For me it means that the privvmpages never hit the barrier or limit, how
> can there be a failcnt!? Or I'm wrong?

This can happen if someone has changed the barrier since tha failures
happened, is that likely?
Re: held and maxheld below barrier and limit but failcnt = 4 [message #12022 is a reply to message #12017] Sun, 15 April 2007 18:50 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Franz STUMPNER wrote:
> I have the Problem that my /proc/user_beancounters displays an
> failcount of 4 at the privvmpages section:
>
> Version: 2.5
> uid resource held maxheld barrier limit failcnt
> 102: kmemsize 2827049 3378858 41840803 46024883 0
> lockedpages 0 0 2043 2043 0
> *privvmpages 118113 130716 173225 198547 4*
>
> How can it be that failcnt is 4 when the held and maxheld values are
> below the barrier an limit values?
> For me it means that the privvmpages never hit the barrier or limit,
> how can there be a failcnt!? Or I'm wrong?
That's easy -- the difference between privvmpages.maxheld and
privvmpages.barrier is 173225-130716=42509. So if any application tries
to grab more than 42509 pages *at once*, it will get an error (most
probably ENOMEM), and the failcnt will be increased, but both held and
maxheld stays the same.
Previous Topic: Fedora Core 6 ready to use template?
Next Topic: Asterisk
Goto Forum:
  


Current Time: Thu Jul 18 11:19:01 GMT 2024

Total time taken to generate the page: 0.04562 seconds