AW: [Users] ... Strange User-Bean-Counter: othersockbuf
Robert Heinzmann
Robert.Heinzmann at 1und1.de
Thu Sep 3 09:24:09 EDT 2009
Hi,
but isn't barrier a soft limit, which is granted as long as there are
enougth resources ?
Is'nt limit the one that is never satisfied ?
Regards,
Robert
> > /proc/user_beancounter
> > ...
> > resource held maxheld barrier limit failcnt
> > othersockbuf 16184 4364184 6000000 12000000 11
> > ...
> >
> > Altought the barrier was never reached, a failcnt is
> recorded. How can
> > this happen ? Is this a bug ?
> >
> Strange that no one has answered this before, it's pretty
> trivial. Sorry for the late reply, I was on vacation.
>
> If an app tries to allocate more than (barrier - held) bytes
> at once, this allocation will fail, failcnt will increase,
> maxheld won't change.
>
> Say, in your scenario, if 4364184 bytes is currently
> allocated and a program tries to allocate another 2000000
> bytes, such allocation will fail with no change in
> held/maxheld and an increment to failcnt.
>
More information about the Users
mailing list