Received: from yapok.nexcerpt.com ([65.88.171.66]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fALLcvm71699 for ; Wed, 21 Nov 2001 16:38:57 -0500 (EST) (envelope-from jboes@nexcerpt.com) Received: from takin.private.nexcerpt.com (zorro.nexcerpt.com [65.88.171.65]) by yapok.nexcerpt.com (8.11.6/8.11.6) with SMTP id fALLcwc08823 for ; Wed, 21 Nov 2001 16:38:58 -0500 Date: Wed, 21 Nov 2001 17:40:19 -0500 From: Jeff Boes To: pgsql-admin@postgresql.org Subject: Linux 2.4.x VM Message-Id: <20011121174019.4399b140.jboes@nexcerpt.com> Organization: Nexcerpt, Inc. X-Mailer: Sylpheed version 0.6.4 (GTK+ 1.2.9; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200111/106 X-Sequence-Number: 2631 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