pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Boes <jboes@nexcerpt.com>
To: pgsql-admin@postgresql.org
Subject: Linux 2.4.x VM
Date: Wed, 21 Nov 2001 17:40:19 -0500
Message-ID: <20011121174019.4399b140.jboes@nexcerpt.com> (raw)

We recently experienced a situation that may be of value to others.
Our installation was Postgres 7.1.2, Linux 2.4.9.  We had a bug in a
process that was essentially causing it to do a 'select * from table'
where the table was large, every once in a while.  This would cause
the process's memory requirements to grow very large, and eventually
this would overwhelm the database by corrupt the shared memory (we
think this happened when the OS's virtual memory system fell behind
sufficiently).  Sometimes, we'd even see corruption in tables.

Now we're at Linux 2.4.14 and Postgres 7.1.3.  Before we found the bug
in the process, we would see one or two of the processes grow to a
gigabyte or so of memory, and then they would get killed by the OS.
However, we wouldn't see the shared memory corruption.

Our conclusion is that Postgres 7.1.2/3 and Linux 2.4.(<14) is not a
stable configuration.  If you are running an old kernel you may wish
to upgrade soon.

-- 
Jeff Boes                                             vox 616.226.9550
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                      jboes@nexcerpt.com



Message-ID: <20011121174019.4399b140.jboes@nexcerpt.com>
Permalink:  ../20011121174019.4399b140.jboes@nexcerpt.com/
Also on:    postgresql.org/message-id/20011121174019.4399b140.jboes@nexcerpt.com

 · 

reply

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: jboes@nexcerpt.com
  Subject: Re: Linux 2.4.x VM
  In-Reply-To: <20011121174019.4399b140.jboes@nexcerpt.com>
  References: <20011121174019.4399b140.jboes@nexcerpt.com>

* 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