Re: Memory issue on FreeBSD

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Memory issue on FreeBSD
Дата
Msg-id CALd+dccM6f+qZ6h9EabYQGdHE=krY+XhF8LNkxHEcKYzv3p-XA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Memory issue on FreeBSD  (Frank Broniewski <brfr@metrico.lu>)
Ответы Re: Memory issue on FreeBSD  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Re: Memory issue on FreeBSD  (Achilleas Mantzios <achill@smadev.internal.net>)
Список pgsql-general

On Mon, Nov 5, 2012 at 10:11 AM, Frank Broniewski <brfr@metrico.lu> wrote:
and this is after a few hours of running:

Mem: 91M Active, 17G Inact, 3983M Wired, 1526M Cache, 3283M Buf, 155M Free
Swap: 4096M Total, 828K Used, 4095M Free


For comparison, here is the output of a 32GB FreeBSD 9.0/amd64 server, with Postgres 9.0.7 running since June 10, and is heavily pounded on 24x7.  The data + indexes are about 240GB on disk.  This server only runs postgres aside from the basic system processes.

Mem: 231M Active, 21G Inact, 3777M Wired, 1009M Cache, 3285M Buf, 191M Free
Swap: 4096M Total, 272K Used, 4096M Free

I agree with the conclusion that the shared memory segments are confusing the output of top.  There are no memory leaks, and FreeBSD doesn't "lose" any memory.

There are some scripts floating around that read values from sysctl vm.stats.vm and format them nicely to tell you how much memory is used up and free.  Try the one referenced here: http://www.cyberciti.biz/faq/freebsd-command-to-get-ram-information/

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unexpectedly high disk space usage
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: SPI function varchar difference between 9.0 and 9.2