Re: memory hog



On 2008-03-05, adirtymindisajoyforever <getridofthespam@xxxxxxxxx> wrote:
hi,

During a period of time vmstat shows my swap free amount of swap space
is going down. I ps'ed the system to monitor the process size: no
increase,
I monitor all the open files and especially those in /tmp and /var/
run
(mounted on swap), no change.
What else can I monitor to find out who is consuming the memory?
System is
solaris 9, so no dtrace available.

Thanks for all replies.

Solaris 9, like most modern Unixes, uses available memory to cache
any and all files that are read, and keeps the cache even if the
file is closed. The cache is released only if somebody else
needs the memory, as there's no other reason to release it.


--
Christopher Mattern

NOTICE
Thank you for noticing this new notice
Your noticing it has been noted
And will be reported to the authorities
.



Relevant Pages

  • Re: Is Greenspun enough?
    ... Most OSes memory map executables directly from the file system so code doesn't pollute the file cache or swap space. ...
    (comp.lang.lisp)
  • Re: [PATCH 0/8] zcache: page cache compression support
    ... Memory compression increases effective memory size and allows more ... chance' cache ... though there looked like still lots of swap. ... 0: Mallocing 32 megabytes ...
    (Linux-Kernel)
  • Re: Is Greenspun enough?
    ... Most OSes memory map executables directly from the file ... >> system so code doesn't pollute the file cache or swap space. ... but executables have a twist. ...
    (comp.lang.lisp)
  • Re: [PATCH 0/8] zcache: page cache compression support
    ... Memory compression increases effective memory size and allows more ... chance' cache ... By tested those patches on the top of the linus tree at this commit d0c6f6258478e1dba532bf7c28e2cd6e1047d3a4, the OOM was trigger even though there looked like still lots of swap. ... 0: Mallocing 32 megabytes ...
    (Linux-Kernel)
  • Re: IA64 Linux VM performance woes.
    ... > At first the throughtput we are getting without file cache bypass is at around ... you're used to IRIX (or ever used the 2.6 layer). ... > and eventually all memory gets occupied by FS pages. ... That suggests you may be running with not much swap. ...
    (comp.sys.sgi.admin)