From: Wouter van Vliet <wouter@springt.nl>
To: pgsql-admin@postgresql.org
Cc: Wouter @ Witbier <wouter@witbier.myweb.nl>
Subject: Why would PostgreSQL close the 'backend unexpectedly'
Date: Mon, 30 Sep 2002 10:36:43 +0200
Message-ID: <MOELJGIKGMCKGCBHKNKKGEDHCCAA.wouter@springt.nl> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: wouter@springt.nl, wouter@witbier.myweb.nl
Subject: Re: Why would PostgreSQL close the 'backend unexpectedly'
In-Reply-To: <MOELJGIKGMCKGCBHKNKKGEDHCCAA.wouter@springt.nl>
References: <MOELJGIKGMCKGCBHKNKKGEDHCCAA.wouter@springt.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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