Re: Linux mis-reporting memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Sorry, I know this is probably more a linux question, but I'm guessing
> that others have run into this...
> I'm finding this rather interesting report from top on a Debian box...
> Mem:  32945280k total, 32871832k used,    73448k free,   247432k buffers
> Swap:  1951888k total,    42308k used,  1909580k free, 30294300k cached
> This is a machine that's been up some time and the database is 400G, so
> I'm pretty confident that shared_buffers (set to 8G) should be
> completely full, and that's what that top process is indicating.

Nope,  use "ipcs" to show allocated shared memory segments.

One of the better articles on LINUX & memory management -
http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux