pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Help with error message 2+ messages / 2 participants [nested] [flat]
* Help with error message @ 2002-10-22 14:37 JOE <joe@piscitella.com> 0 siblings, 1 reply; 2+ messages in thread From: JOE @ 2002-10-22 14:37 UTC (permalink / raw) To: pgsql-admin 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. The "Socket command type 'unknown" error I do not understand. Our installation is postgres 7.2.1 on Solaris 8 sun server. Thanks for any help! Oct 16 14:41:28 test postgres[12736]: [ID 553393 local0.error] [3] FATAL 1: Socket command type ' unknown Oct 16 14:43:27 test postgres[12754]: [ID 553393 local0.error] [3] FATAL 1: Socket command type ' unknown Oct 16 14:43:58 test postgres[12770]: [ID 553393 local0.error] [3] FATAL 1: Socket command type ' unknown Oct 16 14:44:32 test postgres[12789]: [ID 553393 local0.error] [3] FATAL 1: Socket command type ' unknown Oct 16 15:05:45 test postgres[12868]: [ID 553393 local0.error] [2] FATAL 1: Sorry, too many clients already Oct 16 15:05:58 test postgres[12907]: [ID 553393 local0.error] [2] FATAL 1: Sorry, too many clients already Oct 16 15:08:28 test postgres[14278]: [ID 553393 local0.error] [3] FATAL 1: Socket command type ' unknown ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Help with error message @ 2002-10-25 14:32 Tom Lane <tgl@sss.pgh.pa.us> parent: JOE <joe@piscitella.com> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2002-10-25 14:32 UTC (permalink / raw) To: JOE <joe@piscitella.com>; +Cc: pgsql-admin "JOE" <joe@piscitella.com> 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-10-25 14:32 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2002-10-22 14:37 Help with error message JOE <joe@piscitella.com> 2002-10-25 14:32 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox