Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2006 17:16:35 +0300
From:      "Eugene" <genie@geniechka.ru>
To:        <freebsd-questions@freebsd.org>
Subject:   Strange memory problems
Message-ID:  <005b01c642bb$23e007c0$1b12c055@genie>

next in thread | raw e-mail | index | archive | help
Hi people,

I have a strange problem with memory.
System is FreeBSD 5.3, 4GB physical memory.
Even in very quiet load, memory allocation statistics looks like this:
last pid: 38330;  load averages:  0.67,  1.05,  1.03  up 6+06:50:14 
15:52:30
159 processes: 2 running, 156 sleeping, 1 zombie

Mem: 757M Active, 2673M Inact, 220M Wired, 107M Cache, 112M Buf, 7000K Free
Swap: 10G Total, 1884K Used, 10G Free

That is, almost 3GB of memory is Inactive while free memory is almost used 
up.
If I do 'ps axvf' and sum up the memory columns, I get RSS=1.5GB and 
VSZ=1.9GB (approximately).
With Apache stopped, it goes down to RSS=0.5GB and VSZ=0.6G -- but Inactive 
Memory remains above 2.5GB.
Is it a memory leak somewhere or what?

Thanks in advance
Eugene 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005b01c642bb$23e007c0$1b12c055>