X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 62845D1DD40 for ; Wed, 10 Mar 2004 12:38:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 62549-09 for ; Wed, 10 Mar 2004 08:38:15 -0400 (AST) Received: from anchor-post-37.mail.demon.net (anchor-post-36.mail.demon.net [194.217.242.86]) by svr1.postgresql.org (Postfix) with ESMTP id 890CED1DCEE for ; Wed, 10 Mar 2004 08:38:12 -0400 (AST) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-37.mail.demon.net with esmtp (Exim 3.35 #1) id 1B12yU-000N76-0b; Wed, 10 Mar 2004 12:38:15 +0000 Received: by mainbox.archonet.com (Postfix, from userid 529) id CC59417216; Wed, 10 Mar 2004 12:38:13 +0000 (GMT) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id AD55617214; Wed, 10 Mar 2004 12:38:11 +0000 (GMT) From: Richard Huxton To: "Stergios Zissakis" , Subject: Re: Connections and threading problems Date: Wed, 10 Mar 2004 12:38:11 +0000 User-Agent: KMail/1.5 Cc: "Kostas Lykiardopoulos" , "Dimitris Pantermalis" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403101238.11593.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/27 X-Sequence-Number: 3829 On Thursday 04 March 2004 12:39, Stergios Zissakis wrote: > Hi there, > > I have set up PGSQL 7.4 and unixODBC-2.2.8 on Solaris 8 (with the 113261-02 > patch applied). > I'm using OTL 4 and a multi-threaded test program. > I encountered the following problems. > 1) I cannot get more than 5 threads to connect to the databse at the same > time. Your log file says you've reached your maximum number of connections. 2004-03-04 14:24:09 LOG: connection authorized: user=szis database=test 2004-03-04 14:24:09 FATAL: sorry, too many clients already You'll want to increase max_connections in your postgresql.conf. Make sure PG re-reads the file. You also *do not* want to leave enable_seqscan set to false unless you are testing. -- Richard Huxton Archonet Ltd