From: | "Josh Tolley" <eggyknap(at)gmail(dot)com> |
---|---|
To: | "Bill Moran" <wmoran(at)collaborativefusion(dot)com> |
Cc: | "coliban(at)gmail(dot)com" <coliban(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgres generates too much processes per minute |
Date: | 2008-06-22 15:48:47 |
Message-ID: | e7e0a2570806220848u4d377bcfha5f1b446daa71765@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jun 19, 2008 at 8:17 AM, Bill Moran
<wmoran(at)collaborativefusion(dot)com> wrote:
> In response to "coliban(at)gmail(dot)com" <coliban(at)gmail(dot)com>:
>
>> Hello,
>>
>> i have the problem that postgres ist starting and stopping several (up
>> to 4) processes per minute, so that the error log in windows is
>> running full, with more than 14 entries every minute.
>>
>> Does someone know, how to reduce the start and the end of so many
>> processes, is there a variable or something ?
>
> A process is started for every connection and ends when the connection
> is closed. If you're opening/closing connections frequently, you'll
> see this. It's by design.
You might consider using a connection pooler as well. The point of
such a thing is to allow applications requiring lots of connections to
share a smaller set of real connections to the database by proxying
connections. Look for pgBouncer and pgPool as example connection
pooling applications
- Josh / eggyknap
From | Date | Subject | |
---|---|---|---|
Next Message | Patrick TJ McPhee | 2008-06-22 18:24:22 | Re: Importing undelimited files (Flat Files or Fixed-Length records) |
Previous Message | David | 2008-06-22 08:13:39 | Re: Dump and restore problem |