pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mathieu Dube <mathieu_dube@videotron.ca>
To: pgsql-sql@postgresql.org
Subject: 1024 limit???
Date: Mon, 5 Feb 2001 11:07:44 -0500
Message-ID: <01020511081207.01681@therver.local2.lan> (raw)

Hi,
 Im building a server that uses libpq to connect to a database and
authenticate the users that connect.
 I do PQfinish for the conn and PQclear for the result so there cant be
a memory leak there.
 If I remove the function where I authenticate my server can handle as
much clients as I want.
 If I authenticate every clients with connections to the database it
crashes on PQconnectdb at th 1024th client without returning an error(it just
segfaults).
 My ulimit -n is more than 1024 btw.

 Did anybody encounter such problem?? I've been trying to fix this one
for a long time...

                                         Thanks
                                         -Mat

-- 
Mathieu Dube	
Mondo-Live			
www.flipr.com



Message-ID: <01020511081207.01681@therver.local2.lan>
Permalink:  ../01020511081207.01681@therver.local2.lan/
Also on:    postgresql.org/message-id/01020511081207.01681@therver.local2.lan

 · 

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: mathieu_dube@videotron.ca
  Subject: Re: 1024 limit???
  In-Reply-To: <01020511081207.01681@therver.local2.lan>
  References: <01020511081207.01681@therver.local2.lan>

* 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