From: | Kathy Lo <kathy(dot)lo(dot)ky(at)gmail(dot)com> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Memory Leakage Problem |
Date: | 2005-12-06 09:22:30 |
Message-ID: | c10e7feb0512060122u33a9c8eakb178525f3834b00@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-performance |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Jenny | 2005-12-06 09:41:15 | need help (not anymore) |
Previous Message | Tino Wildenhain | 2005-12-06 08:54:40 | Re: need help |
From | Date | Subject | |
---|---|---|---|
Next Message | Rory Campbell-Lange | 2005-12-06 09:38:18 | LVM and Postgres |
Previous Message | Assaf Yaari | 2005-12-06 09:08:07 | Re: Performance degradation after successive UPDATE's |