Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 400144760F0 for ; Fri, 8 Nov 2002 13:11:12 -0500 (EST) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id A59D9476021 for ; Fri, 8 Nov 2002 13:11:11 -0500 (EST) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.12.6/8.12.6/Debian-6Woody) with SMTP id gA8IB9pq019831; Fri, 8 Nov 2002 13:11:10 -0500 Reply-To: From: "Nick Fankhauser" To: "A.M." , Subject: Re: FATAL 1: Sorry, too many clients already Date: Fri, 8 Nov 2002 13:07:00 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/105 X-Sequence-Number: 6293 AM- The band-aid patch is to increase the number of connections available. Check out this link to the idocs: http://www.postgresql.org/idocs/index.php?runtime-config.html Maybe that will keep things running for you while you go over the code to learn why you're using more connections now. If you aren't using pooled connections, maybe you just have more users on the web. -Nick > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of A.M. > Sent: Friday, November 08, 2002 12:31 PM > To: pgsql-admin@postgresql.org > Subject: [ADMIN] FATAL 1: Sorry, too many clients already > > > OMG, I'm about to rip my hair out. I've been writing a webapp using > DBD::Pg and it has been accessing postgresql for weeks without > problems. Suddenly this morning with no changes to the setup, I get: > FATAL 1: Sorry, too many clients already > whenever I try to use the webapp (running under user "apache"). This > message appears when I have psql open and in the httpd error_log. > However, if I connect using psql via the domain socket or tcp socket, I > have no problems! I restarted postgres, apache, and the entire server > and the shit won't go away. What am I doing wrong?! > Setup: > RedHat 7.1 > pgsql 7.2.2 > Nothing other than the db and webapp are running on the server. What > should I do? > ><><><><><><><><>< > AgentM > agentm@cmu.edu > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html >