pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Douglas Trainor <trainor@uic.edu>
To: Kurt Overberg <kurt@hotdogrecords.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Tomcat/Struts/Pooling?/Memory Sizes
Date: Mon, 17 Mar 2003 17:33:01 -0600
Message-ID: <3E765B2D.4030301@uic.edu> (raw)
In-Reply-To: <3E7649B7.4060405@hotdogrecords.com>
References: <3E7649B7.4060405@hotdogrecords.com>

You could lower your sort_mem value.
32168 means 32 meg per backend.

    douglas

Kurt Overberg wrote:

> Gang,
>
> Got a question about run-time postgresql memory usage. I'm moving
> over to this RedHat box from a shared sun server, so I'm doing some
> tweaking out of the system. I'm running pgsql 7.3 on a RedHat system
> (fairly recent- not sure of the version) that has 1Gb of memory.
> Using apache with tomcat 4.1.2/Struts/JDBC2 drivers. I have shared 
> memory on the system set to 268435456 (roughly 256Mb). Tomcat/Struts 
> (jdbc2) is configured to have 100 max connections (maxCount), minimum 
> of 10 (minCount).
>
>
> The relevant parts of my postgresql config are:
>
> tcpip_socket = true
> max_connections = 128
> shared_buffers = 30400
> sort_mem = 32168
> vacuum_mem = 32168
>
> [...]







view thread (2+ messages)

Message-ID: <3E765B2D.4030301@uic.edu>
Permalink:  ../3E765B2D.4030301@uic.edu/
Also on:    postgresql.org/message-id/3E765B2D.4030301@uic.edu

 · 

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-general@postgresql.org
  Cc: trainor@uic.edu, kurt@hotdogrecords.com
  Subject: Re: Tomcat/Struts/Pooling?/Memory Sizes
  In-Reply-To: <3E765B2D.4030301@uic.edu>
  References: <3E7649B7.4060405@hotdogrecords.com> <3E765B2D.4030301@uic.edu>

* 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