On Thu, Aug 10, 2000 at 05:05:26PM +0530, G.B.Naidu wrote:
> 
> Hi,
> 
> I have been getting this error message on my FreeBSD 3.3 system:
> 
> swap_pager: Out of Swap space. After digging a little bit, we found that
> there is a lot of memory leakage happening. This is how we went about
> finding:
> 
> ps -aux for the process showed that vsz column was increasing very
> fast. But the rss column was almost stable( was not changing much).

For what process? (what program was running that had such a large vsz?)

> 
> pstat -S also showed drastic fall in available swap space. 
> 
> My question is what could be the reason for this drastic increase in vsz
> column of ps -aux output? Is it because of unfreed malloced memory? Why
> rss is stable? Somebody could help me when will the vsz(virtual
> size) increases?

Yes, it is because of unfreed malloc()'ed memory.  If it is a memory
leak, the only way to free the memory is to kill the process that is
leaking it.

> -- 
> Never trust an operating system you don't have sources for. ;-)

Don't get too comfortable.  <http://www.acm.org/classics/sep95/>
;)

-- 
Brian O'Shea
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to