From: Martin Marques <martin@bugs.unl.edu.ar>
To: Mark Striebeck <mstriebeck@vasoftware.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [GENERAL] out of memory error
Date: Fri, 11 Jun 2004 08:48:49 -0300
Message-ID: <200406110848.49635.martin@bugs.unl.edu.ar> (raw)
In-Reply-To: <40C90778.4090308@vasoftware.com>
References: <40C90778.4090308@vasoftware.com>
El Jue 10 Jun 2004 22:14, escribió:
> Hi,
>
> we are using Postgres with a J2EE application (JBoss) and get
> intermittent "out of memory" errors on the Postgres database. We are
> running on a fairly large Linux server (Dual 3GHz, 2GB Ram) with the
> following parameters:
>
> shared_buffers = 8192
This is very low for a 2GB server. Unless the server is overdimensioned. Think
that those 8192 are about 64 MB, and you have 2000 MB of fisical memory.
Also check that query which is hugh, and has to many unions.
--
08:40:02 up 27 days, 18:51, 1 user, load average: 1.16, 1.07, 0.75
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: martin@bugs.unl.edu.ar, mstriebeck@vasoftware.com, pgsql-general@postgresql.org
Subject: Re: [GENERAL] out of memory error
In-Reply-To: <200406110848.49635.martin@bugs.unl.edu.ar>
* 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