From: Kathy Lo <kathy.lo.ky@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Memory Leakage Problem
Date: Tue, 6 Dec 2005 17:22:30 +0800
Message-ID: <c10e7feb0512060122u33a9c8eakb178525f3834b00@mail.gmail.com> (raw)
Hi,
I setup a database server using the following configuration.
Redhat 9.0
Postgresql 8.0.3
Then, I setup a client workstation to access this database server with
the following configuration.
Redhat 9.0
unixODBC 2.2.11
psqlodbc-08.01.0101
and write a C++ program to run database query.
In this program, it will access this database server using simple and
complex (joining tables) SQL Select statement and retrieve the matched
rows. For each access, it will connect the database and disconnect it.
I found that the memory of the databaser server nearly used up (total 2G RAM).
After I stop the program, the used memory did not free.
Is there any configuration in postgresql.conf I should set? Currently,
I just set the following in postgresql.conf
listen_addresses = '*'
max_stack_depth = 8100 (when I run "ulimit -s" the max. value that
kernel supports = 8192)
stats_row_level = true
And, I run pg_autovacuum as background job.
--
Kathy Lo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: kathy.lo.ky@gmail.com
Subject: Re: Memory Leakage Problem
In-Reply-To: <c10e7feb0512060122u33a9c8eakb178525f3834b00@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox