Port Bug Report: Size of postgres process in main memory keeps increasing.

Поиск
Список
Период
Сортировка
От Unprivileged user
Тема Port Bug Report: Size of postgres process in main memory keeps increasing.
Дата
Msg-id 199903221831.NAA64440@hub.org
обсуждение исходный текст
Список pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        : Deniz Yuret
Your email address    : deniz@ai.mit.edu

Category        : runtime: back-end
Severity        : serious

Summary: Size of postgres process in main memory keeps increasing.

System Configuration
--------------------
  Operating System   : SunOS 5.5.1

  PostgreSQL version : 6.3.2

  Compiler used      : gcc 2.8.1

Hardware:
---------
Sun Ultra Enterprise 2

Versions of other tools:
------------------------
GNU Make version 3.74

--------------------------------------------------------------------------

Problem Description:
--------------------
I start the postmaster using "postmaster -i".  My program
opens a connection to the backend using libpq.  The size
of the resulting postgres process seems to increase without
bound.

--------------------------------------------------------------------------

Test Case:
----------
Here is a typical example:
% date
Sun Mar 14 11:40:02 EST 1999
% postmaster -i
% <run program that opens a connection with libpq>
% ps -auxww | grep postgres
USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
start     1298  0.1  0.1 4536 2288 pts/0    S 11:43:00  0:00 /projects/start/bin/postgres -p -Q -P5 -v 65536 omnibase

;;; after 1 day of operation:

% date
Mon Mar 15 11:09:13 EST 1999
11:08:30/worldbook% ps -auxww
USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
start     1298  0.5  4.3 90024 88672 pts/0    S 11:43:00 13:49 /projects/start/bin/postgres -p -Q -P5 -v 65536 omnibase

;;; after 2 days of operation

% date
Tue Mar 16 10:03:25 EST 1999
% ps -auxww
USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
start     1298  0.0  7.8 163040 161688 pts/0    S   Mar 14 38:34 /projects/start/bin/postgres -p -Q -P5 -v 65536
omnibase


;;; after 4 days of operation

% date
Thu Mar 18 12:13:08 EST 1999
% ps -auxww
USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
start     1298  9.4 18.8 390008 388664 pts/0    S   Mar 14 189:40 /projects/start/bin/postgres -p -Q -P5 -v 65536
omnibase


;;; after 8 days of operation

% date
Mon Mar 22 10:56:38 EST 1999
% ps -auxww | grep omnibase
start     1298 27.7 24.1 756504 499256 pts/0    S   Mar 14 668:58 /projects/start/bin/postgres -p -Q -P5 -v 65536
omnibase


--------------------------------------------------------------------------

Solution:
---------


--------------------------------------------------------------------------


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

Предыдущее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: pgaccess
Следующее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: