Re: Postfix/Maildrop and too many connections issues

From: Roman Neuhauser <neuhauser(at)sigpipe(dot)cz>
To: Sven Willenberger <sven(at)dmv(dot)com>
Cc: "Karl O(dot) Pinc" <kop(at)meme(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postfix/Maildrop and too many connections issues
Date: 2005-06-27 13:55:54
Message-ID: 20050627135554.GB38502@isis.sigpipe.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

# sven(at)dmv(dot)com / 2005-06-23 17:25:03 -0400:
> On Thu, 2005-06-23 at 03:39 +0000, Karl O. Pinc wrote:
> > On 06/22/2005 08:23:43 AM, Sven Willenberger wrote:
> > > On Wed, 2005-06-22 at 01:30 +0200, Roman Neuhauser wrote:
> > > > # sven(at)dmv(dot)com / 2005-06-21 15:00:12 -0400:
> > > > > We have a system set up whereby postfix and maildrop gather
> > > > > user info from a pg database (7.4.2 on FreeBSD 5.2.1) to do
> > > > > local mail acceptance and delivery. I have configured max
> > > > > connections at 512 but I find that this is not enough and I
> > > > > get "connection limit exceeded for non-superusers" errors. I
> > > > > see upon ps ax that there are hundreds of idle connections
> > > > > (state I).

[...]

> I just realized however that once postifx looks up the user in
> transport it hands the mail off to maildrop which then has to do its
> own db lookup for the home directory, etc and I cannot see how I would
> configure this to use proxymap.

*That* is where something like
http://pgpool.projects.postgresql.org/ would be useful.

> Well at least I have consolidated some of the lookups ...

True.

--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-06-27 14:29:59 Re: number of records returned by cursors
Previous Message Zlatko Matic 2005-06-27 13:46:32 Re: automating backup ?