pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Najm Hashmi <najm@mondo-live.com>
To: pgsql <pgsql-sql@postgresql.org>
Subject: Max Conncection limit?
Date: Tue, 13 Mar 2001 11:33:10 -0500
Message-ID: <3AAE4BC6.97FDD3AD@mondo-live.com> (raw)

We  start a server and initiate 30 connections(with the libpq C interface)
which are  stored in a stack to  use and  and to be reused.

After awhile I try to start another server that will also try to initiate 30
connections, for each connection I then get a PQErrorMessage like that :
"Sorry, too many connections"

if I do a ps -ax at that time I get a lot of /usr/bin/postgres 192.168.0.1
user name passwd   idle

what I usually do is restart postgres but I wish I didnt have to do that...
That is not an elegant solutuion any ways.
What can I do? Thanks in advance. Regards

Attachments:

najm.vcf (text/x-vcard, 183B) download begin:vcard n:Hashmi;Najm x-mozilla-html:FALSE org:Mondo-Live.com;www.flipr.com adr:;;;;;; version:2.1 email;internet:najm@mondo-live.com x-mozilla-cpt:;6144 fn:Najm Hashmi end:vcard

view thread (2+ messages)

Message-ID: <3AAE4BC6.97FDD3AD@mondo-live.com>
Permalink:  ../3AAE4BC6.97FDD3AD@mondo-live.com/
Also on:    postgresql.org/message-id/3AAE4BC6.97FDD3AD@mondo-live.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: najm@mondo-live.com
  Subject: Re: Max Conncection limit?
  In-Reply-To: <3AAE4BC6.97FDD3AD@mondo-live.com>
  References: <3AAE4BC6.97FDD3AD@mondo-live.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox