When does swap decreases

Dan Nelson dnelson at allantgroup.com
Mon Jun 20 18:55:49 GMT 2005


In the last episode (Jun 20), Francisco Reyes said:
> On Mon, 20 Jun 2005, Dan Nelson wrote:
> > When the system is low on memory, it will force the least used
> > blocks of memory to swap.  It will not free the swap space until
> > the process owning them exits (even if it pages that memory back
> > into RAM), so at some point the system paged out 30MB of memory,
> > some processes exited and freed up 20MB, and you probably have some
> > long-lived processes that account for that remaining 10MB.
> 
> Makes sense.
> Any way to find out which process is using the swap?

None that I know of.  Another one of those "Junior Kernel Hacker"
proejcts :)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list