Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f16D8Hx74596 for ; Tue, 6 Feb 2001 08:08:17 -0500 (EST) (envelope-from pgsql-sql-owner@postgresql.org) Received: from lin.local.lan ([216.221.221.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f15G1ax21514 for ; Mon, 5 Feb 2001 11:01:36 -0500 (EST) (envelope-from mathieu_dube@videotron.ca) Received: from therver.local2.lan (IDENT:mat@flipserve.local2.lan [192.168.2.10]) by lin.local.lan (8.9.3/8.8.7) with SMTP id OAA28671 for ; Mon, 5 Feb 2001 14:55:55 GMT From: Mathieu Dube Reply-To: mathieu_dube@videotron.ca Organization: Mondo-live To: pgsql-sql@postgresql.org Subject: 1024 limit??? Date: Mon, 5 Feb 2001 11:07:44 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <01020511081207.01681@therver.local2.lan> Content-Transfer-Encoding: 8bit X-Archive-Number: 200102/75 X-Sequence-Number: 1248 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