Skip site navigation (1) Skip section navigation (2)

postgresql not using enough memory?

From: admin(at)usachurch(dot)com
To: pgsql-admin(at)postgresql(dot)org
Subject: postgresql not using enough memory?
Date: 2004-05-19 20:11:25
Message-ID: p06020438bcd16fc8a146@[] (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Hello list,

I know this is a complicated issue, but I'll throw it out there...
Our DB box has 3GB of ram - which is supposed to be used by
postgres.  Whenever I use top, it only shows about 800MB being
used with 2.2GB free.  What can I do to tell postgres to use more
of that memory - maybe 2GB ?

I am running on fedora core 1.  as far as my postgrsql.conf file, here's
the related settings:

vacuum_mem = 16384
max_fsm_pages = 32001
max_fsm_relations = 2000
max_files_per_process = 10000
effective_cache_size = 100000

Also, in my /etc/sysctl.conf file, I have these lines:

# added to allow a single app to have 512MB
kernel.shmall = 536870912
kernel.shmmax = 536870912

Any ideas?



pgsql-admin by date

Next:From: Bill ChandlerDate: 2004-05-19 20:28:34
Subject: Missing or errooneous pg_hba.conf file
Previous:From: Stephan SzaboDate: 2004-05-19 17:50:34
Subject: Re: [SQL] rules

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group