Re: [Exim] too many postgres connections

Top Page
Delete this message
Reply to this message
Author: Peter Galbavy
Date:  
To: Andy Hedges, exim-users
Subject: Re: [Exim] too many postgres connections
By default, many installations of postgres do not have various kernel values
tuned suitably. I cannot comment on why exim is using too many connections,
but either way, postgresql does require certain resources, such as shared
memory and semaphores (or mabye this food poisoning I have is making me
think wrong) - and these are best set according to the hints in the
postgresql distribution and documentation.

Peter

----- Original Message -----
From: "Andy Hedges" <andy.hedges@???>
To: <exim-users@???>
Sent: Monday, January 14, 2002 9:59 AM
Subject: RE: [Exim] too many postgres connections


> I'm about to use Exim with Postgres for the backend of a new Hosting/ISP
> company. What is the best way to track this issue?
>
> Can I help?
>
> Andy
>
> -----Original Message-----
> From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
> Sent: 14 January 2002 09:56
> To: Joachim Wieland
> Cc: exim-users@???
> Subject: Re: [Exim] too many postgres connections
>
>
> On Mon, 14 Jan 2002, Joachim Wieland wrote:
>
> > according to Philip's hint (maybe he should become marketing director of
> > the big M-company "The next version does exactly what you want")
>
> Sorry about that. I don't really want to sound like a commercial
> person...
>
> > PGSQL new connection: host=host port= database=database user=user
> >
> > but nothing that indicates that a connection has been closed again.
> >
> >
> > When I quit exim -bt I get:
> >
> > [...]
> > close PGSQL connection: <database_info>
> > close PGSQL connection: <database_info>
> > close PGSQL connection: <database_info>
> > close PGSQL connection: <database_info>
> > [...]
>
> > So, is this a bug or some sort of "feature", I don't understand right
> > now (maybe some caching?)?
>
> I'm about to investigate your other problem with Postgres and I'll look
> into this too. Exim does cache connections. The question is therefore,
> why hasn't it re-used its previously cached connection? Could you please
> send me (off list) the command you were using, and the complete -d9

output?
>
> (I don't know if Postgres is widely used with Exim. I am not an expert
> in this area at all.)
>
> Philip
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.

>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>
>