1024 limit???

From: Mathieu Dube <mathieu_dube(at)videotron(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: 1024 limit???
Date: 2001-02-05 16:07:44
Message-ID: 01020511081207.01681@therver.local2.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Browse pgsql-sql by date

  From Date Subject
Next Message Brian C. Doyle 2001-02-05 16:13:14 Re: Problem with Day of Week
Previous Message Josh Berkus 2001-02-05 16:00:49 Re: PL/PGSQL function with parameters