Re: [squid-users] mallinfo() vs. sbrk()

From: Mark Nottingham <mnot_at_yahoo-inc.com>
Date: Sun, 9 Nov 2008 14:06:47 -0800

What about

Memory accounted for:
        Total accounted: 2039507 KB

This seems to be the only one that's not wrapped around to negative
above 2G on Linux... both mallinfo and sbrk are.

Cheers,

On 07/11/2008, at 12:38 PM, Henrik Nordstrom wrote:

> On fre, 2008-11-07 at 10:36 -0800, Mark Nottingham wrote:
>> thx.
>>
>> When mallinfo fails, how does it appear in cachemgr -- i.e., is there
>> any way to reliably detect it just by examining the output?
>
> numbers wrap over and become negative, then 0 and positive again.
> Cycle
> repeats each 4 GB. (32-bit signed counters counting bytes)
>
> regards
> Henrik
>

--
Mark Nottingham       mnot_at_yahoo-inc.com
Received on Sun Nov 09 2008 - 22:07:12 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 10 2008 - 12:00:03 MST