Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0C7D2475CC7 for ; Fri, 25 Oct 2002 10:32:06 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 6EB0F475CBC for ; Fri, 25 Oct 2002 10:32:05 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g9PEW2hR022904; Fri, 25 Oct 2002 10:32:02 -0400 (EDT) To: "JOE" Cc: pgsql-admin@postgresql.org Subject: Re: Help with error message In-reply-to: <010201c279d8$80a97040$c801a8c0@joe> References: <010201c279d8$80a97040$c801a8c0@joe> Comments: In-reply-to "JOE" message dated "Tue, 22 Oct 2002 07:37:07 -0700" Date: Fri, 25 Oct 2002 10:32:02 -0400 Message-ID: <22903.1035556322@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/253 X-Sequence-Number: 6111 "JOE" writes: > During our load testing we saw the errors below. I believe that the "Sorry= > , too many clients already" is because we exceeding the max connections to = > the database. Check. > The "Socket command type ' unknown" error I do not understand. The most likely bet is loss of synchronization between backend and client. The typical scenario is that the client is sending COPY data and the server has a problem with some row and errors out. The client keeps sending COPY data, so the next thing the server gets is more COPY data instead of the fresh command it's expecting. If the first character of the additional data is "'" then you'd get the above message. Is your load testing exercising COPY with bad data? (Yes, the COPY protocol is misdesigned. We're talking about fixing that in 7.4.) regards, tom lane