Re: postgres memory management

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: postgres memory management
Дата
Msg-id 20010121124949.A12967@klamath.dyndns.org
обсуждение исходный текст
Ответ на postgres memory management  (Alexander Jerusalem <ajeru@gmx.net>)
Ответы Re: postgres memory management
Список pgsql-general
On Sun, Jan 21, 2001 at 01:18:54PM +0100, Alexander Jerusalem wrote:
> When the database connection is closed, no memory is reclaimed, the overall
> memory usage stays the same. And when I close down all postgresql processes
> including postmaster, it's the same.
> I'm rather new to Linux and postgresql so I'm not sure if I should call
> this a memory leak :-)

How much memory is being used? Do you ever go into swap? If not,
what's probably happening is Linux is using free memory to cache data
like I/O. Linux should automatically release this memory if it's
needed by a process. So as long as you have some free memory, I'd
say don't worry about it -- but if you start going into swap and
this memory isn't released, then you might have a problem.

BTW, you're using 'ktop', the KDE front end to 'top'? If you're
concerned about memory usage, I'd definately recommend not running
KDE, X, or any other GUI stuff.

HTH,

Neil

--
Neil Conway <neilconway@home.com>
Get my GnuPG key from: http://klamath.dyndns.org/mykey.asc
Encrypted mail welcomed

Violence is to dictatorship as propaganda is to democracy.
        -- Noam Chomsky

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

Предыдущее
От: "J.H.M. Dassen (Ray)"
Дата:
Сообщение: Re: postgres memory management
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ACS Web Server & PostgreSQL