Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1B306476FAE for ; Fri, 8 Nov 2002 12:31:27 -0500 (EST) Received: from smtp6.andrew.cmu.edu (SMTP6.andrew.cmu.edu [128.2.10.86]) by postgresql.org (Postfix) with ESMTP id 5DE44476F3D for ; Fri, 8 Nov 2002 12:31:26 -0500 (EST) Received: from cmu.edu (MCUBE.RES.cmu.edu [128.2.161.131]) (user=amcauley mech=PLAIN (0 bits)) by smtp6.andrew.cmu.edu (8.12.3.Beta2/8.12.3.Beta2) with ESMTP id gA8HVTQA007556 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 8 Nov 2002 12:31:29 -0500 Date: Fri, 8 Nov 2002 12:31:05 -0500 Mime-Version: 1.0 (Apple Message framework v546) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: FATAL 1: Sorry, too many clients already From: "A.M." To: pgsql-admin@postgresql.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.546) X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/104 X-Sequence-Number: 6292 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