Memory leak?
Charles Swiger
cswiger at mac.com
Mon Feb 13 14:58:14 PST 2006
On Feb 13, 2006, at 5:13 PM, Robert Leftwich wrote:
> After 1 dataset it is:
>
> Mem: 107M Active, 1919M Inact, 158M Wired, 16K Cache, 214M Buf,
> 570M
> Free
> Swap: 4068M Total, 4068M Free
>
> which totals 2968M
>
> While running on the 6th dataset:
>
> Mem: 1032M Active, 1045M Inact, 260M Wired, 145M Cache, 214M Buf,
> 4664K Free
> Swap: 4068M Total, 108K Used, 4068M Free
>
> which totals 2700.6M
Possibly your database is using lots of SysV shared memory, which
would explain why "wired" is going up so much, otherwise perhaps
something in the kernel is leaking. "sysctl kern.malloc" might be
interesting to consider.
> Are my assumptions incorrect, should the totals displayed by top be at
> least approximately equal?
Exclude the "buf" entry from your math, that will be closer. You
should be looking further down at the SIZE column to see which
processes are using so much RAM...
--
-Chuck
More information about the freebsd-questions
mailing list