Re: Too many postgres.exe

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Too many postgres.exe
Дата
Msg-id 4B27600E.2050204@postnewspapers.com.au
обсуждение исходный текст
Ответ на Too many postgres.exe  (<A.Bhattacharya@sungard.com>)
Список pgsql-general
On 15/12/2009 5:51 PM, A.Bhattacharya@sungard.com wrote:

> However whenever my application is running I could see there are too
> many postgres.exe are created even though the application is not doing
> anything in database.

What is "too many" ?

What does:

   SELECT * FROM pg_stat_activity;

show?

How are you talking to PostgreSQL? Direct JDBC? An ORM like Hibernate?
Which one? What JDBC driver version? Are you using a connection pool?
Which one?

The people on this mailing list are, with the possible exception of Tom,
not psychic. Some kind of details will help your question get a better
answer, more quickly. See:

   http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

> In general the observation is that there are too many progress.exe
> processes get created every time I run my application and it
> postgres.exe eats up the maximum memory.

Then your server is not configured correctly. Set max connections,
shared_buffers, work_mem, maintenance_work_mem, etc so that your server
cannot consume too much memory.

--
Craig Ringer

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

Предыдущее
От:
Дата:
Сообщение: Too many postgres.exe
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Too many postgres.exe