From: | Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> |
---|---|
To: | A(dot)Bhattacharya(at)sungard(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Too many postgres.exe |
Date: | 2009-12-15 10:08:14 |
Message-ID: | 4B27600E.2050204@postnewspapers.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 15/12/2009 5:51 PM, A(dot)Bhattacharya(at)sungard(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2009-12-15 11:25:29 | Re: Too many postgres.exe |
Previous Message | A.Bhattacharya | 2009-12-15 09:51:01 | Too many postgres.exe |