Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fdfile leak; vmstat output error (signed problem?)



Thomas Klausner wrote:

> However, vmstat output didn't look correct either:
>  procs    memory      page                       disks   faults      cpu
>  r b w    avm    fre  flt  re  pi   po   fr   sr c0 c1   in   sy  cs us sy id
>  1 0 0 538004    412 -6017 131 93  315  518  884  0  0  450 10602 2001 51 20 
> 29
> 
> Look at the flt column.

All the counters in struct uvmexp are just "int", so it's normal
overflow problem.  I keep meaning to one day make them uint64_t or
something, but have never gotten around to it...

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index