Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 82FE5475D93 for ; Mon, 30 Sep 2002 04:36:13 -0400 (EDT) Received: from smtpzilla2.xs4all.nl (smtpzilla2.xs4all.nl [194.109.127.138]) by postgresql.org (Postfix) with ESMTP id 0B35C475AAC for ; Mon, 30 Sep 2002 04:36:07 -0400 (EDT) Received: from asterix (213-84-84-231.adsl.xs4all.nl [213.84.84.231]) by smtpzilla2.xs4all.nl (8.12.0/8.12.0) with SMTP id g8U8a77E002181; Mon, 30 Sep 2002 10:36:07 +0200 (CEST) From: "Wouter van Vliet" To: Cc: "Wouter @ Witbier" Subject: Why would PostgreSQL close the 'backend unexpectedly' Date: Mon, 30 Sep 2002 10:36:43 +0200 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.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/19 X-Sequence-Number: 5877 Hi Folks, I'm running a server, 1gig ram, 1ghz cpu, enough hd space. On it, s'pose you guessed it, i'm having some problems with PostgresSQL. Also on the server, there is a website, about 70 active users online at the same time. Results in quite some memory usage. The gig is used in full for the most of the time. Now comes the problem, every now and then, it seemed to be totally random (since it is a computer, it can't be, I know), there appears an error in the error log saying: PgRead() connection failed: the database system closed backend unexpectedly. It might be in some other phrase (somehow, the back of my mind is whispering: Backend closed the channel unexpectedly), but just at this moment I couldn't find the exact words in the logs. If you know how to solve this problem, you'll probalby know what I mean. The problem seems to be something with memory, the the small development server we also run it gives the same error when it's out of mem. Is there maybe a way to bypass this and perhaps let postgres wait for some time when he thinks to be out of memory. It's quite unwanted for the system to generete such errors .. don't have to explain that I guess. Thanks for anyone who comes out with an idea. I'll buy you a beer if I once meet you. Wouter